JNetHackのソースをいじくったものを置いておくための場所
修訂 | ad1ee9db677bac5749942cb6609393b86b4bf710 (tree) |
---|---|
時間 | 2018-05-10 21:21:34 |
作者 | SHIRAKATA Kentaro <argrath@ub32...> |
Commiter | SHIRAKATA Kentaro |
prevent changing console font
@@ -1555,11 +1555,13 @@ static int CALLBACK EnumFontCallback( | ||
1555 | 1555 | void |
1556 | 1556 | check_and_set_font() |
1557 | 1557 | { |
1558 | +#if 0 /*JP*//* コードページは変更しない。932を仮定する。*/ | |
1558 | 1559 | if (!check_font_widths()) { |
1559 | 1560 | raw_print("WARNING: glyphs too wide in console font." |
1560 | 1561 | " Changing code page to 437 and font to Consolas\n"); |
1561 | 1562 | set_known_good_console_font(); |
1562 | 1563 | } |
1564 | +#endif | |
1563 | 1565 | } |
1564 | 1566 | |
1565 | 1567 | /* check_font_widths returns TRUE if all glyphs in current console font |