Removing temporary debugging code and fixing compiler warnings.

This commit is contained in:
Bart House
2018-05-13 13:29:13 -07:00
parent 3dbbd188d9
commit 0afd2570cb
2 changed files with 2 additions and 21 deletions

View File

@@ -1858,7 +1858,7 @@ void nethack_enter_nttty()
/* load default keyboard handler */
HKL keyboard_layout = GetKeyboardLayout(0);
DWORD primary_language = (DWORD) keyboard_layout & 0x3f;
DWORD primary_language = (UINT_PTR) keyboard_layout & 0x3f;
if (primary_language == LANG_ENGLISH) {
if (!load_keyboard_handler("nhdefkey"))