From 1e03efca48c50c5ea4b4a053d5bf04bad58d3e43 Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 24 Sep 2024 20:01:51 +0200 Subject: [PATCH] Update raygui.h --- src/raygui.h | 2 -- 1 file changed, 2 deletions(-) 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; }