PopStyleVar() fix. OOPS

This commit is contained in:
omar 2014-11-21 14:19:26 +00:00
parent 5f8175abaa
commit 2322318cac

View File

@ -2633,6 +2633,7 @@ void ImGui::PopStyleVar(int count)
else if (ImVec2* pvar_v = GetStyleVarVec2Addr(backup.Var)) else if (ImVec2* pvar_v = GetStyleVarVec2Addr(backup.Var))
*pvar_v = backup.PreviousValue; *pvar_v = backup.PreviousValue;
g.StyleModifiers.pop_back(); g.StyleModifiers.pop_back();
count--;
} }
} }