mirror of
https://github.com/raysan5/raygui.git
synced 2025-12-25 10:22:33 -05:00
initializ some variables to prevent warnings (#515)
This commit is contained in:
@ -2692,8 +2692,8 @@ int GuiTextBox(Rectangle bounds, char *text, int textSize, bool editMode)
|
||||
{
|
||||
int offset = textBoxCursorIndex;
|
||||
int accCodepointSize = 0;
|
||||
int prevCodepointSize;
|
||||
int prevCodepoint;
|
||||
int prevCodepointSize = 0;
|
||||
int prevCodepoint = 0;
|
||||
|
||||
// Check whitespace to delete (ASCII only)
|
||||
while (offset > 0)
|
||||
@ -2744,8 +2744,8 @@ int GuiTextBox(Rectangle bounds, char *text, int textSize, bool editMode)
|
||||
{
|
||||
int offset = textBoxCursorIndex;
|
||||
//int accCodepointSize = 0;
|
||||
int prevCodepointSize;
|
||||
int prevCodepoint;
|
||||
int prevCodepointSize = 0;
|
||||
int prevCodepoint = 0;
|
||||
|
||||
// Check whitespace to skip (ASCII only)
|
||||
while (offset > 0)
|
||||
|
||||
Reference in New Issue
Block a user