Merge branch 'NetHack:NetHack-3.7' into NetHack-3.7

This commit is contained in:
RainRat
2024-04-12 09:03:48 -07:00
committed by GitHub
3 changed files with 20 additions and 6 deletions

View File

@@ -2077,8 +2077,13 @@ void
check_and_set_font(void)
{
if (!check_font_widths()) {
raw_print("WARNING: glyphs too wide in console font."
" Changing code page to 437 and font to Consolas\n");
const char *msg = "WARNING: glyphs too wide in console font."
" Changing code page to 437 and font to Consolas";
if (iflags.window_inited)
pline ("%s", msg);
else
raw_printf("%s\n", msg);
set_known_good_console_font();
}
}