* Source/win32/WIN32Server.m (process_char):

Fix bug that caused F11 keypresses to become F12.
        Patch by Adam Fox <adam.fox@testplant.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@38881 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2015-08-13 21:23:35 +00:00
parent e02d5747cf
commit 75c254d681
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2015-08-13 Fred Kiefer <FredKiefer@gmx.de>
* Source/win32/WIN32Server.m (process_char):
Fix bug that caused F11 keypresses to become F12.
Patch by Adam Fox <adam.fox@testplant.com>
2015-06-05 Fred Kiefer <FredKiefer@gmx.de> 2015-06-05 Fred Kiefer <FredKiefer@gmx.de>
* configure.ac: Fix configure for mingw * configure.ac: Fix configure for mingw

View file

@ -2467,7 +2467,7 @@ process_char(WPARAM wParam, unsigned *eventModifierFlags)
case VK_F8: WIN_FUNCTIONKEY return NSF8FunctionKey; case VK_F8: WIN_FUNCTIONKEY return NSF8FunctionKey;
case VK_F9: WIN_FUNCTIONKEY return NSF9FunctionKey; case VK_F9: WIN_FUNCTIONKEY return NSF9FunctionKey;
case VK_F10: WIN_FUNCTIONKEY return NSF10FunctionKey; case VK_F10: WIN_FUNCTIONKEY return NSF10FunctionKey;
case VK_F11: WIN_FUNCTIONKEY return NSF12FunctionKey; case VK_F11: WIN_FUNCTIONKEY return NSF11FunctionKey;
case VK_F12: WIN_FUNCTIONKEY return NSF12FunctionKey; case VK_F12: WIN_FUNCTIONKEY return NSF12FunctionKey;
case VK_F13: WIN_FUNCTIONKEY return NSF13FunctionKey; case VK_F13: WIN_FUNCTIONKEY return NSF13FunctionKey;
case VK_F14: WIN_FUNCTIONKEY return NSF14FunctionKey; case VK_F14: WIN_FUNCTIONKEY return NSF14FunctionKey;