diff options
author | mösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2010-09-20 10:51:11 +0000 |
---|---|---|
committer | mösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2010-09-20 10:51:11 +0000 |
commit | a43f762d6dee96b035b170be8fca0c10e9d4f622 (patch) | |
tree | fdf00121749a32ef2c6718521f2671167d351129 /windows/neo-vars | |
parent | 91286b0791146600ba5972c1bb094fc730c024ee (diff) | |
download | neo-layout-a43f762d6dee96b035b170be8fca0c10e9d4f622.tar.gz neo-layout-a43f762d6dee96b035b170be8fca0c10e9d4f622.tar.bz2 neo-layout-a43f762d6dee96b035b170be8fca0c10e9d4f622.zip |
• fixed issue #223: & auf Ebene 3 wird jetzt richtig auf der Bildschirmtastatur angezeigt.
git-svn-id: https://svn.neo-layout.org@2349 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'windows/neo-vars')
-rw-r--r-- | windows/neo-vars/src/source/screenkeyboard.ahk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/windows/neo-vars/src/source/screenkeyboard.ahk b/windows/neo-vars/src/source/screenkeyboard.ahk index c411e3c..54fe8fb 100644 --- a/windows/neo-vars/src/source/screenkeyboard.ahk +++ b/windows/neo-vars/src/source/screenkeyboard.ahk @@ -80,7 +80,13 @@ rerun_bstnupdate: if (SubStr(GuiComp,1,1)=="U") {
Charcode := "0x" . Substr(GuiComp,2,6)
if (charCode < 0x10000) {
- NumPut(CharCode, ptrU, GuiPos, "UShort")
+ if (charCode == 0x26) {
+ ; double any Ampersand (&) to avoid being replaced with
+ ; underscore (Windows Shortcut Key terminology)
+ NumPut(CharCode, ptrU, GuiPos, "UShort")
+ GuiPos := GuiPos + 2
+ }
+ NumPut(CharCode, ptrU, GuiPos, "UShort")
} else {
; surrogates
NumPut(0xD800|((charCode-0x10000)/1024) , ptrU, GuiPos, "UShort")
|