mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-11 18:51:16 +00:00
Replace magic mask in WNDPROC with macro's
This commit is contained in:
parent
aedef9680f
commit
57c5aebe3e
@ -390,7 +390,7 @@ LRESULT WINAPI WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||
|
||||
switch (uMsg) {
|
||||
case WM_KEYDOWN:
|
||||
if (lParam & 0x40000000) {
|
||||
if (HIWORD(lParam) & KF_REPEAT) {
|
||||
return DefWindowProcA(hWnd, WM_KEYDOWN, wParam, lParam);
|
||||
}
|
||||
keyCode = wParam;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user