From a0cded315a5933965292f085a5c4ab0757f6037e Mon Sep 17 00:00:00 2001 From: Ray Date: Fri, 2 Sep 2022 18:49:17 +0200 Subject: [PATCH] Update raygui.h --- src/raygui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raygui.h b/src/raygui.h index 38440de..49260c3 100644 --- a/src/raygui.h +++ b/src/raygui.h @@ -2032,7 +2032,7 @@ bool GuiTextBox(Rectangle bounds, char *text, int textSize, bool editMode) // Only allow keys in range [32..125] if ((keyCount + byteSize) < textSize) { - float maxWidth = (bounds.width - (GuiGetStyle(TEXTBOX, TEXT_INNER_PADDING)*2)); + //float maxWidth = (bounds.width - (GuiGetStyle(TEXTBOX, TEXT_INNER_PADDING)*2)); if (key >= 32) {