Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not overflow when deleting Unicode in GuiTextBox() #458

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SirNate0
Copy link

@SirNate0 SirNate0 commented Feb 6, 2025

#399

I have not tested it (I don't use Unicode input myself), I just saw the issue and thought it should be a simple fix.

I also noted that there are some inconsistencies in whether autoCursorCooldownCounter is tested > or >= RAYGUI_TEXTBOX_AUTO_CURSOR_COOLDOWN. Were these deliberate, or should they be changed as well? And was it intended that the re-triggering on hold would not happen until 2*RAYGUI_TEXTBOX_AUTO_CURSOR_COOLDOWN (because of the autoCursorDelayCounter++ at the first line of the if, the %RAYGUI_TEXTBOX_AUTO_CURSOR_COOLDOWN will only be zero when it is 2* and not 1*)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant