1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-11-12 02:00:58 +01:00

Added an assertion

This commit is contained in:
ocornut 2014-08-19 12:27:34 +01:00
parent 42d4b4be6a
commit 23d156908d

View File

@ -2495,6 +2495,7 @@ void TextUnformatted(const char* text, const char* text_end)
if (window->SkipItems)
return;
IM_ASSERT(text != NULL);
const char* text_begin = text;
if (text_end == NULL)
text_end = text + strlen(text);