From 407a9e2dee27f9bf1f4cf206a4303cda5da14014 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Wed, 12 Feb 2020 14:57:05 +0100 Subject: [PATCH] Drop "invalid wide char string" message down to debug level 3 Super annoying in a C locale if the prompt contains non-ascii chars. See #6584 --- src/output.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output.cpp b/src/output.cpp index 501d3ecd3..e1bcd7cdb 100644 --- a/src/output.cpp +++ b/src/output.cpp @@ -404,7 +404,7 @@ void outputter_t::writestr(const wchar_t *str) { size_t len = wcstombs(nullptr, str, 0); // figure amount of space needed if (len == static_cast(-1)) { - debug(1, L"Tried to print invalid wide character string"); + debug(3, L"Tried to print invalid wide character string"); return; }