mirror of
https://github.com/raysan5/raygui.git
synced 2026-01-25 08:39:18 -05:00
@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user