mirror of
https://github.com/raysan5/raygui.git
synced 2026-01-25 08:39:18 -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 offset = textBoxCursorIndex;
|
||||||
int accCodepointSize = 0;
|
int accCodepointSize = 0;
|
||||||
int prevCodepointSize;
|
int prevCodepointSize = 0;
|
||||||
int prevCodepoint;
|
int prevCodepoint = 0;
|
||||||
|
|
||||||
// Check whitespace to delete (ASCII only)
|
// Check whitespace to delete (ASCII only)
|
||||||
while (offset > 0)
|
while (offset > 0)
|
||||||
@ -2744,8 +2744,8 @@ int GuiTextBox(Rectangle bounds, char *text, int textSize, bool editMode)
|
|||||||
{
|
{
|
||||||
int offset = textBoxCursorIndex;
|
int offset = textBoxCursorIndex;
|
||||||
//int accCodepointSize = 0;
|
//int accCodepointSize = 0;
|
||||||
int prevCodepointSize;
|
int prevCodepointSize = 0;
|
||||||
int prevCodepoint;
|
int prevCodepoint = 0;
|
||||||
|
|
||||||
// Check whitespace to skip (ASCII only)
|
// Check whitespace to skip (ASCII only)
|
||||||
while (offset > 0)
|
while (offset > 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user