From 1970d84051d3878f8c1354d9c33c795d9c66143f Mon Sep 17 00:00:00 2001 From: Lucas Lazare Date: Tue, 5 Mar 2019 12:20:39 -0500 Subject: [PATCH] =?UTF-8?q?Removing=20sneaky=20tabulations=20#2=C2=A0(why,?= =?UTF-8?q?=20editor=20T-T)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I should update my settings, I guess --- imgui_widgets.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/imgui_widgets.cpp b/imgui_widgets.cpp index 5dad9403b..ee830c0e6 100644 --- a/imgui_widgets.cpp +++ b/imgui_widgets.cpp @@ -2903,7 +2903,7 @@ bool ImGui::InputTextMultiline(const char* label, char* buf, size_t buf_size, co bool ImGui::InputTextHinted(const char* label, const char* hint, char* buf, size_t buf_size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* user_data) { - return InputTextEx(label, hint, buf, (int)buf_size, ImVec2(0,0), flags, callback, user_data); + return InputTextEx(label, hint, buf, (int)buf_size, ImVec2(0,0), flags, callback, user_data); } static int InputTextCalcTextLenAndLineCount(const char* text_begin, const char** out_text_end) @@ -3871,8 +3871,8 @@ bool ImGui::InputTextEx(const char* label, const char* hint, char* buf, int buf_ } else { - buf_display = hint; - buf_display_end = hint + strlen(hint); + buf_display = hint; + buf_display_end = hint + strlen(hint); text_color = ImGuiCol_TextDisabled; }