diff --git a/imgui_demo.cpp b/imgui_demo.cpp index ded064439..8a875c075 100644 --- a/imgui_demo.cpp +++ b/imgui_demo.cpp @@ -8002,8 +8002,8 @@ void ShowExampleAppDocuments(bool* p_open) for (int n = 0; n < close_queue.Size; n++) if (close_queue[n]->Dirty) ImGui::Text("%s", close_queue[n]->Name); - ImGui::EndChildFrame(); } + ImGui::EndChildFrame(); ImVec2 button_size(ImGui::GetFontSize() * 7.0f, 0.0f); if (ImGui::Button("Yes", button_size))