Skip to content

Commit

Permalink
Fixed enum typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
ocornut committed Mar 19, 2018
1 parent 4485e56 commit d1c45db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imgui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12066,7 +12066,7 @@ void ImGui::Separator()
return;
ImGuiContext& g = *GImGui;

ImGuiWindowFlags flags = 0;
ImGuiSeparatorFlags flags = 0;
if ((flags & (ImGuiSeparatorFlags_Horizontal | ImGuiSeparatorFlags_Vertical)) == 0)
flags |= (window->DC.LayoutType == ImGuiLayoutType_Horizontal) ? ImGuiSeparatorFlags_Vertical : ImGuiSeparatorFlags_Horizontal;
IM_ASSERT(ImIsPowerOfTwo((int)(flags & (ImGuiSeparatorFlags_Horizontal | ImGuiSeparatorFlags_Vertical)))); // Check that only 1 option is selected
Expand Down

0 comments on commit d1c45db

Please sign in to comment.