Browse Source

Update raygui.h

Ray 4 weeks ago
parent
commit
54ee53e7d7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/raygui.h

+ 1 - 0
src/raygui.h

@@ -5065,6 +5065,7 @@ static const char *GetTextIcon(const char *text, int *iconId)
 }
 
 // Get text divided into lines (by line-breaks '\n')
+// WARNING: It returns pointers to new lines but it does not add NULL ('\0') terminator!
 static const char **GetTextLines(const char *text, int *count)
 {
     #define RAYGUI_MAX_TEXT_LINES   128