Skip to content

Commit

Permalink
Fixed uninitialized variable (leading to asserts in the docking branc…
Browse files Browse the repository at this point in the history
…h). (#2376, #2371)
  • Loading branch information
ocornut committed Feb 23, 2019
1 parent 9558e32 commit 6cbf4b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions imgui_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -1037,6 +1037,8 @@ struct ImGuiContext
DragDropAcceptFrameCount = -1;
memset(DragDropPayloadBufLocal, 0, sizeof(DragDropPayloadBufLocal));

CurrentTabBar = NULL;

ScalarAsInputTextId = 0;
ColorEditOptions = ImGuiColorEditFlags__OptionsDefault;
DragCurrentAccumDirty = false;
Expand Down

0 comments on commit 6cbf4b8

Please sign in to comment.