summaryrefslogtreecommitdiff
path: root/windows/autohotkey/Source/Methods-Other.ahk
diff options
context:
space:
mode:
Diffstat (limited to 'windows/autohotkey/Source/Methods-Other.ahk')
-rw-r--r--windows/autohotkey/Source/Methods-Other.ahk8
1 files changed, 2 insertions, 6 deletions
diff --git a/windows/autohotkey/Source/Methods-Other.ahk b/windows/autohotkey/Source/Methods-Other.ahk
index c3ed1b8..fbbcad5 100644
--- a/windows/autohotkey/Source/Methods-Other.ahk
+++ b/windows/autohotkey/Source/Methods-Other.ahk
@@ -196,17 +196,13 @@ CheckComp(d) {
if (CompKey = "")
return 1
else CompKey =
- }
- else
- if PriorCompKey {
+ } else if PriorCompKey {
PriorCompKey := CompKey := PriorCompKey . "_" . d
CheckCompose()
if CompKey
isFurtherCompKey = 1
return 1
- }
- else
- if (PriorDeadKey = "comp") {
+ } else if (PriorDeadKey = "comp") {
CompKey := d
return 1
}