restrict a Windows console message to debug

This commit is contained in:
nhmall
2022-05-27 16:33:22 -04:00
parent 6ea2e8e222
commit 0aba9ff77e

View File

@@ -2180,7 +2180,8 @@ restore_original_console_font(void)
raw_print("Restoring original font and code page\n");
success = SetConsoleOutputCP(console.original_code_page);
#else /* VIRTUAL_TERMINAL_SEQUENCES */
raw_print("Restoring original font, code page and locale\n");
if (wizard)
raw_print("Restoring original font, code page and locale\n");
tmplocalestr = setlocale(LC_ALL, console.orig_localestr);
if (tmplocalestr) {