Browse Source

Update raygui.h

Ray 9 months ago
parent
commit
f11dc823d1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/raygui.h

+ 1 - 1
src/raygui.h

@@ -2642,7 +2642,7 @@ int GuiTextBox(Rectangle bounds, char *text, int textSize, bool editMode)
 
 
                 // Make sure text last character is EOL
                 // Make sure text last character is EOL
                 text[textLength] = '\0';
                 text[textLength] = '\0';
-            } 
+            }
             else if ((textLength > 0) && (IsKeyPressed(KEY_BACKSPACE) || (IsKeyDown(KEY_BACKSPACE) && (autoCursorCooldownCounter >= RAYGUI_TEXTBOX_AUTO_CURSOR_COOLDOWN))))
             else if ((textLength > 0) && (IsKeyPressed(KEY_BACKSPACE) || (IsKeyDown(KEY_BACKSPACE) && (autoCursorCooldownCounter >= RAYGUI_TEXTBOX_AUTO_CURSOR_COOLDOWN))))
             {
             {
                 autoCursorDelayCounter++;
                 autoCursorDelayCounter++;