Skip to content

Commit

Permalink
PopStyleVar() fix. OOPS
Browse files Browse the repository at this point in the history
  • Loading branch information
ocornut committed Nov 21, 2014
1 parent 5f8175a commit 2322318
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions imgui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2633,6 +2633,7 @@ void ImGui::PopStyleVar(int count)
else if (ImVec2* pvar_v = GetStyleVarVec2Addr(backup.Var))
*pvar_v = backup.PreviousValue;
g.StyleModifiers.pop_back();
count--;
}
}

Expand Down

0 comments on commit 2322318

Please sign in to comment.