From 54ee53e7d7a7ce87846c4ed3c05e77865dede4c5 Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 4 Aug 2025 23:36:27 +0200 Subject: [PATCH] Update raygui.h --- src/raygui.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/raygui.h b/src/raygui.h index 549cdba..ce93c4d 100644 --- a/src/raygui.h +++ b/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