From ad1ee9db677bac5749942cb6609393b86b4bf710 Mon Sep 17 00:00:00 2001 From: SHIRAKATA Kentaro Date: Thu, 10 May 2018 18:12:56 +0900 Subject: [PATCH] prevent changing console font --- sys/winnt/nttty.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/winnt/nttty.c b/sys/winnt/nttty.c index c07d994..5f9dcc4 100644 --- a/sys/winnt/nttty.c +++ b/sys/winnt/nttty.c @@ -1555,11 +1555,13 @@ static int CALLBACK EnumFontCallback( void check_and_set_font() { +#if 0 /*JP*//* ƒR[ƒhƒy[ƒW‚͕ύX‚µ‚È‚¢B932‚ð‰¼’è‚·‚éB*/ if (!check_font_widths()) { raw_print("WARNING: glyphs too wide in console font." " Changing code page to 437 and font to Consolas\n"); set_known_good_console_font(); } +#endif } /* check_font_widths returns TRUE if all glyphs in current console font -- 2.11.0