diff --git a/src/raygui.h b/src/raygui.h index 72cbbbf..85c4778 100644 --- a/src/raygui.h +++ b/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; }