use StrCmpS instead of System plug-in

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4469 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2006-01-06 16:05:53 +00:00
parent 58b07e69c6
commit e0e602b97c

View file

@ -135,10 +135,7 @@
; Case-sensitive string tests
!macro _StrCmp _a _b _e _l _m
!insertmacro _LOGICLIB_TEMP
System::Call `kernel32::lstrcmpA(ts, ts) i.s` `${_a}` `${_b}`
Pop $_LOGICLIB_TEMP
IntCmp $_LOGICLIB_TEMP 0 `${_e}` `${_l}` `${_m}`
StrCmpS `${_a}` `${_b}` `${_t}` `${_f}`
!macroend
!macro _S== _a _b _t _f