Reviewed text input

This commit is contained in:
raysan5 2017-12-31 23:50:22 +01:00
parent e7cf03b1e4
commit e69424c86f
2 changed files with 11 additions and 6 deletions

View file

@ -52,7 +52,7 @@ int main()
letterCount++;
}
if (key == KEY_BACKSPACE)
if (IsKeyPressed(KEY_BACKSPACE))
{
letterCount--;
name[letterCount] = '\0';