1
0
mirror of https://github.com/ocornut/imgui.git synced 2025-01-19 09:37:30 +01:00

Fixed build warning.

This commit is contained in:
ocornut 2024-06-20 17:45:09 -07:00
parent 7e7c97ac5f
commit 21581cf70c

View File

@ -14569,7 +14569,7 @@ void ImGui::ShowMetricsWindow(bool* p_open)
// Basic info // Basic info
Text("Dear ImGui %s", GetVersion()); Text("Dear ImGui %s", GetVersion());
if (g.ContextName[0] != NULL) if (g.ContextName[0] != 0)
{ {
SameLine(); SameLine();
Text("(Context Name: \"%s\")", g.ContextName); Text("(Context Name: \"%s\")", g.ContextName);