diff options
author | Sven Gothel <[email protected]> | 2013-07-02 16:10:59 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-07-02 16:10:59 +0200 |
commit | 460ad9822b2509865691258be851e62b85626677 (patch) | |
tree | b2239526c6b5e621161a422b263e9adc1c472ccb /src/newt | |
parent | 205a17de1abec614d3d06386f873170fc1691e86 (diff) |
Fix Bug 768 / NEWT Windows: Use layout dependent keySymbol, if independent keyCode is 0.
Diffstat (limited to 'src/newt')
-rw-r--r-- | src/newt/native/WindowsWindow.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newt/native/WindowsWindow.c b/src/newt/native/WindowsWindow.c index ac0ebf07e..4ef2459e8 100644 --- a/src/newt/native/WindowsWindow.c +++ b/src/newt/native/WindowsWindow.c @@ -431,6 +431,9 @@ static void ParseWmVKeyAndScanCode(USHORT winVKey, BYTE winScanCode, BYTE flags, break; } } + if( J_VK_UNDEFINED == javaVKeyUS ) { + javaVKeyUS = javaVKeyXX; + } } *outJavaVKeyUS = javaVKeyUS; |