Reviewed text input
This commit is contained in:
parent
e7cf03b1e4
commit
e69424c86f
2 changed files with 11 additions and 6 deletions
|
@ -52,7 +52,7 @@ int main()
|
|||
letterCount++;
|
||||
}
|
||||
|
||||
if (key == KEY_BACKSPACE)
|
||||
if (IsKeyPressed(KEY_BACKSPACE))
|
||||
{
|
||||
letterCount--;
|
||||
name[letterCount] = '\0';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue