Browse Source

Update raygui.h

Ray 11 months ago
parent
commit
1e03efca48
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/raygui.h

+ 0 - 2
src/raygui.h

@@ -2657,8 +2657,6 @@ int GuiTextBox(Rectangle bounds, char *text, int textSize, bool editMode)
                         // Move backward text from cursor position
                         for (int i = (textBoxCursorIndex - prevCodepointSize); i < textLength; i++) text[i] = text[i + prevCodepointSize];
 
-                        // TODO Check: i >= (cursor + codepointsize) && (i <= length-codepointsize) ???
-
                         textBoxCursorIndex -= codepointSize;
                         textLength -= codepointSize;
                     }