diff --git a/imgui.cpp b/imgui.cpp index e8154e8..2d05103 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -2495,6 +2495,7 @@ if (window->SkipItems) return; + IM_ASSERT(text != NULL); const char* text_begin = text; if (text_end == NULL) text_end = text + strlen(text);