• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

JNetHackのソースをいじくったものを置いておくための場所


Commit MetaInfo

修訂ad1ee9db677bac5749942cb6609393b86b4bf710 (tree)
時間2018-05-10 21:21:34
作者SHIRAKATA Kentaro <argrath@ub32...>
CommiterSHIRAKATA Kentaro

Log Message

prevent changing console font

Change Summary

差異

--- a/sys/winnt/nttty.c
+++ b/sys/winnt/nttty.c
@@ -1555,11 +1555,13 @@ static int CALLBACK EnumFontCallback(
15551555 void
15561556 check_and_set_font()
15571557 {
1558+#if 0 /*JP*//* コードページは変更しない。932を仮定する。*/
15581559 if (!check_font_widths()) {
15591560 raw_print("WARNING: glyphs too wide in console font."
15601561 " Changing code page to 437 and font to Consolas\n");
15611562 set_known_good_console_font();
15621563 }
1564+#endif
15631565 }
15641566
15651567 /* check_font_widths returns TRUE if all glyphs in current console font