diff options
Diffstat (limited to 'windows/neo-vars/src')
-rw-r--r-- | windows/neo-vars/src/source/compose-gen.ahk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/windows/neo-vars/src/source/compose-gen.ahk b/windows/neo-vars/src/source/compose-gen.ahk index f6dae55..368ecc2 100644 --- a/windows/neo-vars/src/source/compose-gen.ahk +++ b/windows/neo-vars/src/source/compose-gen.ahk @@ -1791,6 +1791,8 @@ EncodeUniCompose(str) { SetFormat, Integer, hex
result := ""
loop {
+ if (str == "")
+ break
char := asc(SubStr(str,1,1))
str := SubStr(str,2)
if (char < 0x80)
@@ -1828,8 +1830,6 @@ SetFormat, Integer, hex result .= "U" . SubStr("000000" . SubStr((((char & 0x07) << 18) + ((char2 & 0x3F) << 12) + ((char3 & 0x3F) << 6) + (char4 & 0x3F)),3),-5)
}
}
- if (str == "")
- break
}
SetFormat, Integer, d
StringUpper,result,result
|