summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2010-03-26 07:29:42 +0000
committermösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2010-03-26 07:29:42 +0000
commit7464792f708a33ba9a774ed009542015468915e9 (patch)
treec0c11d751101248bd12d3aa686fb27672491c6c1
parentbac9ad63b752042a032f81838f85d977d2e1e93c (diff)
• GSYM wird an anderer Stelle in anderem Zusammenhang evaluiert und sollte nie existieren, daher muss die lokale Variable umbenannt werden. Effekt war, dass nach einem Durchlauf dieses Abschnitts, wenn also GSYM belegt ist, unbelegte Tasten den letzten Wert von GSYM anstelle eines Leerstrings anzeigen.
• == ist für echten String-Compare besser. git-svn-id: https://svn.neo-layout.org@2223 b9310e46-f624-0410-8ea1-cfbb3a30dc96
-rw-r--r--windows/neo-vars/src/source/screenkeyboard_new.ahk8
1 files changed, 4 insertions, 4 deletions
diff --git a/windows/neo-vars/src/source/screenkeyboard_new.ahk b/windows/neo-vars/src/source/screenkeyboard_new.ahk
index 681ac24..5a2b677 100644
--- a/windows/neo-vars/src/source/screenkeyboard_new.ahk
+++ b/windows/neo-vars/src/source/screenkeyboard_new.ahk
@@ -46,9 +46,9 @@ rerun_bstnupdate:
if (GSYM%GuiComp1% != "") {
GuiComp .= GSYM%GuiComp1%
} else if (CD%GuiComp1% != "") {
- GSym := CD%GuiComp1%
- if (GSYM%GSym% != "")
- GuiComp .= GSYM%Gsym%
+ G_Sym := CD%GuiComp1%
+ if (GSYM%G_Sym% != "")
+ GuiComp .= GSYM%G_sym%
else
GuiComp .= CD%GuiComp1%
} else if (CM%GuiComp1% == 1) {
@@ -58,7 +58,7 @@ rerun_bstnupdate:
GuiComp .= CF%CurrentComp%
CurrentComp := ""
goto rerun_bstnupdate
- } else if (CurrentComp = "") {
+ } else if (CurrentComp == "") {
GuiComp .= GuiComp1
}
GuiPos := 0