fixed bug #1852141 - WordFind do not support Chinese

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5435 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2007-12-22 15:27:33 +00:00
parent 8cae893b5d
commit 0ae4903206

View file

@ -206,6 +206,7 @@ VersionConvert
Push $8 Push $8
Push $9 Push $9
Push $R1 Push $R1
Push $R2
ClearErrors ClearErrors
StrCpy $9 '' StrCpy $9 ''
@ -251,7 +252,8 @@ VersionConvert
loop: loop:
StrCpy $8 $R0 $7 $6 StrCpy $8 $R0 $7 $6
StrCmp${_WORDFUNC_S} $8$5 0 error1 StrCmp${_WORDFUNC_S} $8$5 0 error1
StrCmp${_WORDFUNC_S} $8 '' +2 StrLen $R2 $8
IntCmp $R2 0 +2
StrCmp${_WORDFUNC_S} $8 $0 +5 preloop StrCmp${_WORDFUNC_S} $8 $0 +5 preloop
StrCmp${_WORDFUNC_S} $3 '{' minus StrCmp${_WORDFUNC_S} $3 '{' minus
StrCmp${_WORDFUNC_S} $3 '}' minus StrCmp${_WORDFUNC_S} $3 '}' minus
@ -353,6 +355,7 @@ VersionConvert
end: end:
StrCpy $R0 $R1 StrCpy $R0 $R1
Pop $R2
Pop $R1 Pop $R1
Pop $9 Pop $9
Pop $8 Pop $8