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
This commit is contained in:
Fabian Homborg
2020-02-12 14:57:05 +01:00
parent 8d34f74320
commit 407a9e2dee

View File

@@ -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<size_t>(-1)) {
debug(1, L"Tried to print invalid wide character string");
debug(3, L"Tried to print invalid wide character string");
return;
}