aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-07-02 16:10:59 +0200
committerSven Gothel <[email protected]>2013-07-02 16:10:59 +0200
commit460ad9822b2509865691258be851e62b85626677 (patch)
treeb2239526c6b5e621161a422b263e9adc1c472ccb /src
parent205a17de1abec614d3d06386f873170fc1691e86 (diff)
Fix Bug 768 / NEWT Windows: Use layout dependent keySymbol, if independent keyCode is 0.
Diffstat (limited to 'src')
-rw-r--r--src/newt/native/WindowsWindow.c3
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;