소스 검색

Update raygui.h

Ray 2 년 전
부모
커밋
5f22083d6c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/raygui.h

+ 1 - 1
src/raygui.h

@@ -2090,7 +2090,7 @@ bool GuiTextBox(Rectangle bounds, char *text, int textSize, bool editMode)
         while ((textWidth >= textBounds.width) && (text[0] != '\0'))
         {
             int codepointSize = 0;
-            GetCodepoint(text, &codepointSize);
+            GetCodepointNext(text, &codepointSize);
             text += codepointSize;
             textWidth = GetTextWidth(text);
             cursor.x = textBounds.x + textWidth + 2;