diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-09-26 12:30:22 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-09-26 12:30:22 +0200 |
commit | b42d9e3e7c1caf6ad06ad81eb34cc27e09bd9bb9 (patch) | |
tree | 84d1bb921722801784283e70667b93b8a7ee4dc1 /src/skel/win | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
download | re3-b42d9e3e7c1caf6ad06ad81eb34cc27e09bd9bb9.tar re3-b42d9e3e7c1caf6ad06ad81eb34cc27e09bd9bb9.tar.gz re3-b42d9e3e7c1caf6ad06ad81eb34cc27e09bd9bb9.tar.bz2 re3-b42d9e3e7c1caf6ad06ad81eb34cc27e09bd9bb9.tar.lz re3-b42d9e3e7c1caf6ad06ad81eb34cc27e09bd9bb9.tar.xz re3-b42d9e3e7c1caf6ad06ad81eb34cc27e09bd9bb9.tar.zst re3-b42d9e3e7c1caf6ad06ad81eb34cc27e09bd9bb9.zip |
Diffstat (limited to 'src/skel/win')
-rw-r--r-- | src/skel/win/win.cpp | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp index e79a8150..03eb0d09 100644 --- a/src/skel/win/win.cpp +++ b/src/skel/win/win.cpp @@ -1095,8 +1095,11 @@ MainWndProc(HWND window, UINT message, WPARAM wParam, LPARAM lParam) if ( wParam == VK_SHIFT ) _InputTranslateShiftKeyUpDown(&ks); - +#ifdef FIX_BUGS + break; +#else return 0L; +#endif } case WM_KEYUP: @@ -1109,7 +1112,11 @@ MainWndProc(HWND window, UINT message, WPARAM wParam, LPARAM lParam) if ( wParam == VK_SHIFT ) _InputTranslateShiftKeyUpDown(&ks); +#ifdef FIX_BUGS + break; +#else return 0L; +#endif } case WM_SYSKEYDOWN: @@ -1122,7 +1129,11 @@ MainWndProc(HWND window, UINT message, WPARAM wParam, LPARAM lParam) if ( wParam == VK_SHIFT ) _InputTranslateShiftKeyUpDown(&ks); +#ifdef FIX_BUGS + break; +#else return 0L; +#endif } case WM_SYSKEYUP: @@ -1135,7 +1146,11 @@ MainWndProc(HWND window, UINT message, WPARAM wParam, LPARAM lParam) if ( wParam == VK_SHIFT ) _InputTranslateShiftKeyUpDown(&ks); +#ifdef FIX_BUGS + break; +#else return 0L; +#endif } case WM_ACTIVATEAPP: |