2
0
Эх сурвалжийг харах

Fix merge bug introduced with #211 (#212)

gulrak 3 жил өмнө
parent
commit
38236a5513
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      src/raygui.h

+ 1 - 1
src/raygui.h

@@ -2320,7 +2320,7 @@ bool GuiTextBoxMulti(Rectangle bounds, char *text, int textSize, bool editMode)
             int codepoint = GetCharPressed();
             int codepoint = GetCharPressed();
             int textLength = (int)strlen(text);     // Length in bytes (UTF-8 string)
             int textLength = (int)strlen(text);     // Length in bytes (UTF-8 string)
             int byteSize = 0;
             int byteSize = 0;
-            const char *textUTF8 = CodepointToUTF8(key, &byteSize)
+            const char *textUTF8 = CodepointToUTF8(codepoint, &byteSize);
 
 
             // Introduce characters
             // Introduce characters
             if ((textLength + byteSize) < textSize)
             if ((textLength + byteSize) < textSize)