Skip to content

Commit

Permalink
fixed char elemination on screen
Browse files Browse the repository at this point in the history
deleting a character near a separator (:  or /) was making possible for the user to insert a number isnted of the separator creating a problem with data elaboration
  • Loading branch information
0tia0 committed Nov 20, 2024
1 parent d44c74a commit 93c9aff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,11 @@ void getInput(int type, void *data)
// delete function
if (input == 8 && inputI > 0)
{
if (inputI == 3 || inputI == 6)
{
deleteChar();
}

deleteChar();
continue;
}
Expand Down
Binary file modified main.exe
Binary file not shown.

0 comments on commit 93c9aff

Please sign in to comment.