mirror of
https://github.com/raysan5/raygui.git
synced 2026-02-03 20:59:18 -05:00
Merge pull request #37 from simonwashere/fix-textbox-bug
fix textbox bug
This commit is contained in:
@ -2709,6 +2709,7 @@ RAYGUIDEF bool GuiTextBox(Rectangle bounds, char *text, int textSize, bool editM
|
|||||||
{
|
{
|
||||||
text[keyCount] = (char)key;
|
text[keyCount] = (char)key;
|
||||||
keyCount++;
|
keyCount++;
|
||||||
|
text[keyCount] = '\0';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user