• 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
This commit is contained in:
parent
91286b0791
commit
a43f762d6d
1 changed files with 7 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue