From 21581cf70cef16db7e9a7095703f3233997596ff Mon Sep 17 00:00:00 2001 From: ocornut Date: Thu, 20 Jun 2024 17:45:09 -0700 Subject: [PATCH] Fixed build warning. --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index 7480a8df1..6f90d94ef 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -14569,7 +14569,7 @@ void ImGui::ShowMetricsWindow(bool* p_open) // Basic info Text("Dear ImGui %s", GetVersion()); - if (g.ContextName[0] != NULL) + if (g.ContextName[0] != 0) { SameLine(); Text("(Context Name: \"%s\")", g.ContextName);