diff options
| author | raysan5 <raysan5@gmail.com> | 2017-12-31 23:50:22 +0100 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2017-12-31 23:50:22 +0100 |
| commit | e69424c86fb2e754ebf5dcb95c9bdb2ebd4f0dbc (patch) | |
| tree | b4eb287f4ce5fde3ab4258042ec499dedf4109cc /examples | |
| parent | e7cf03b1e4c1aa7872bda7b35a7d064815332759 (diff) | |
| download | raylib-e69424c86fb2e754ebf5dcb95c9bdb2ebd4f0dbc.tar.gz raylib-e69424c86fb2e754ebf5dcb95c9bdb2ebd4f0dbc.zip | |
Reviewed text input
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/text/text_input_box.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/text/text_input_box.c b/examples/text/text_input_box.c index 54eebf40..5f8d1c01 100644 --- a/examples/text/text_input_box.c +++ b/examples/text/text_input_box.c @@ -52,7 +52,7 @@ int main() letterCount++; } - if (key == KEY_BACKSPACE) + if (IsKeyPressed(KEY_BACKSPACE)) { letterCount--; name[letterCount] = '\0'; |
