Browse Source

Update raygui.h

Ray 11 tháng trước cách đây
mục cha
commit
1e03efca48
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  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;
                     }