From 6cbf4b81210204736a844a9519b0fde72df35cad Mon Sep 17 00:00:00 2001 From: omar Date: Sat, 23 Feb 2019 17:00:59 +0100 Subject: [PATCH] Fixed uninitialized variable (leading to asserts in the docking branch). (#2376, #2371) --- imgui_internal.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/imgui_internal.h b/imgui_internal.h index fa1728349..a76c386aa 100644 --- a/imgui_internal.h +++ b/imgui_internal.h @@ -1037,6 +1037,8 @@ struct ImGuiContext DragDropAcceptFrameCount = -1; memset(DragDropPayloadBufLocal, 0, sizeof(DragDropPayloadBufLocal)); + CurrentTabBar = NULL; + ScalarAsInputTextId = 0; ColorEditOptions = ImGuiColorEditFlags__OptionsDefault; DragCurrentAccumDirty = false;