-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug where intake would sometimes skip handling input text. (#497)
Commit 25d638b repurposed the original `cur_char`, which originally held the input internal keycode. It was changed to instead do nothing in 0d72581 when SDL_TEXTINPUT handling was implemented, however, the original exit check prior to text input wasn't removed. Repurposing this variable reactivated that check and caused some text input fields to stop accepting input altogether (dependent on data stored in old board names, or particularly in the SFX editor, uninitialized memory). Since the check has been dead for a while with fundamentally no problems, it has been removed entirely. The variable has been renamed to avoid being shadowed by the new handler, which also uses `cur_char`. Finally, the SFX string buffers in the SFX editor are cleared now.
- Loading branch information
Showing
3 changed files
with
6 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters