Commit MetaInfo

Revisiond96288103913b2d32206648426572e10048f189a (tree)
Time2019-06-17 01:39:16
AuthorSHIRAKATA Kentaro <argrath@ub32...>
CommiterSHIRAKATA Kentaro

Log Message

force nhdefkey.dll

Change Summary

Incremental Difference

--- a/sys/winnt/nttty.c
+++ b/sys/winnt/nttty.c
@@ -2025,6 +2025,7 @@ void nethack_enter_nttty()
20252025 HKL keyboard_layout = GetKeyboardLayout(0);
20262026 DWORD primary_language = (UINT_PTR) keyboard_layout & 0x3f;
20272027
2028+#if 0 /*JP*//* 日本語ではnhdefkeyしか使わない */
20282029 if (primary_language == LANG_ENGLISH) {
20292030 if (!load_keyboard_handler("nhdefkey"))
20302031 error("Unable to load nhdefkey.dll");
@@ -2032,6 +2033,10 @@ void nethack_enter_nttty()
20322033 if (!load_keyboard_handler("nhraykey"))
20332034 error("Unable to load nhraykey.dll");
20342035 }
2036+#else
2037+ if (!load_keyboard_handler("nhdefkey"))
2038+ error("nhdefkey.dllを読み込めません");
2039+#endif
20352040 }
20362041 #endif /* TTY_GRAPHICS */
20372042
Show on old repository browser