From 975ef00682009196f18ca6b2d9a13aba200efe21 Mon Sep 17 00:00:00 2001 From: ocornut Date: Wed, 24 Jun 2015 19:53:41 -0600 Subject: [PATCH] Minor construction fix (-1.0 is correct "disabled" value for TextWrapPos, didn't have any incidence anyway) --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index 676202e6..a1382ce7 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -1179,7 +1179,7 @@ struct ImGuiDrawContext ItemWidth = 0.0f; ButtonRepeat = false; AllowKeyboardFocus = true; - TextWrapPos = 1.0f; + TextWrapPos = -1.0f; ColorEditMode = ImGuiColorEditMode_RGB; memset(StackSizesBackup, 0, sizeof(StackSizesBackup));