diff --git a/imgui.cpp b/imgui.cpp index 0bfbff945..5af8a024f 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -10515,7 +10515,7 @@ void ImGui::ErrorRecoveryTryToRecoverWindowState(const ImGuiErrorRecoveryStat { ImGuiContext& g = *GImGui; - while (g.CurrentTable != NULL && g.CurrentTable->InnerWindow == g.CurrentWindow) + while (g.CurrentTable != NULL && g.CurrentTable->InnerWindow == g.CurrentWindow) //-V1044 { IM_ASSERT_USER_ERROR(0, "Missing EndTable()"); EndTable(); @@ -10529,7 +10529,7 @@ void ImGui::ErrorRecoveryTryToRecoverWindowState(const ImGuiErrorRecoveryStat IM_ASSERT_USER_ERROR(0, "Missing EndTabBar()"); EndTabBar(); } - while (g.CurrentMultiSelect != NULL && g.CurrentMultiSelect->Storage->Window == window) + while (g.CurrentMultiSelect != NULL && g.CurrentMultiSelect->Storage->Window == window) //-V1044 { IM_ASSERT_USER_ERROR(0, "Missing EndMultiSelect()"); EndMultiSelect(); @@ -10562,7 +10562,7 @@ void ImGui::ErrorRecoveryTryToRecoverWindowState(const ImGuiErrorRecoveryStat } } IM_ASSERT(g.DisabledStackSize == state_in->SizeOfDisabledStack); - while (g.ColorStack.Size > state_in->SizeOfColorStack) + while (g.ColorStack.Size > state_in->SizeOfColorStack) //-V1044 { IM_ASSERT_USER_ERROR(0, "Missing PopStyleColor()"); PopStyleColor();