(from Yitzhak)

accelerators
This commit is contained in:
nethack.allison
2002-03-18 21:44:09 +00:00
parent d06e6a06dd
commit e55d3509a1
4 changed files with 8 additions and 16 deletions
+2 -4
View File
@@ -108,10 +108,8 @@ void mswin_display_RIP_window (HWND hWnd)
while( IsWindow(hWnd) &&
GetMessage(&msg, NULL, 0, 0)!=0 ) {
if( !IsDialogMessage(hWnd, &msg) ) {
if (!TranslateAccelerator(msg.hwnd, GetNHApp()->hAccelTable, &msg)) {
TranslateMessage(&msg);
DispatchMessage(&msg);
}
TranslateMessage(&msg);
DispatchMessage(&msg);
}
}