From b4ac420fc5c839982476bd2b24ffabd2668dc7d0 Mon Sep 17 00:00:00 2001 From: omar Date: Tue, 11 Feb 2020 19:31:33 +0100 Subject: [PATCH] Demo: Amend d284a6c (#2149, #515) --- imgui_demo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imgui_demo.cpp b/imgui_demo.cpp index c5f845ded..0d800cd4f 100644 --- a/imgui_demo.cpp +++ b/imgui_demo.cpp @@ -1043,8 +1043,8 @@ static void ShowDemoWindowWidgets() static char password[64] = "password123"; ImGui::InputText("password", password, IM_ARRAYSIZE(password), ImGuiInputTextFlags_Password); ImGui::SameLine(); HelpMarker("Display all characters as '*'.\nDisable clipboard cut and copy.\nDisable logging.\n"); - ImGui::InputTextWithHint("password (w/ hint)", "", password, IM_ARRAYSIZE(password), ImGuiInputTextFlags_Password | ImGuiInputTextFlags_CharsNoBlank); - ImGui::InputText("password (clear)", password, IM_ARRAYSIZE(password), ImGuiInputTextFlags_CharsNoBlank); + ImGui::InputTextWithHint("password (w/ hint)", "", password, IM_ARRAYSIZE(password), ImGuiInputTextFlags_Password); + ImGui::InputText("password (clear)", password, IM_ARRAYSIZE(password)); ImGui::TreePop(); }