restrict a Windows console message to debug
This commit is contained in:
@@ -2180,7 +2180,8 @@ restore_original_console_font(void)
|
|||||||
raw_print("Restoring original font and code page\n");
|
raw_print("Restoring original font and code page\n");
|
||||||
success = SetConsoleOutputCP(console.original_code_page);
|
success = SetConsoleOutputCP(console.original_code_page);
|
||||||
#else /* VIRTUAL_TERMINAL_SEQUENCES */
|
#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);
|
tmplocalestr = setlocale(LC_ALL, console.orig_localestr);
|
||||||
if (tmplocalestr) {
|
if (tmplocalestr) {
|
||||||
|
|||||||
Reference in New Issue
Block a user