fixed bug #2925015 - nsDialogs.nsh uses LB_DELETESTRING message in the wrong way

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6017 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2010-01-04 11:24:20 +00:00
parent 32fda4e830
commit 859bc9a82d

View file

@ -469,7 +469,12 @@ Header file for creating custom installer pages with nsDialogs
!macro __NSD_LB_DelString CONTROL STRING
SendMessage ${CONTROL} ${LB_DELETESTRING} 0 `STR:${STRING}`
Push $0
SendMessage ${CONTROL} ${LB_FINDSTRINGEXACT} -1 `STR:${STRING}` $0
SendMessage ${CONTROL} ${LB_DELETESTRING} $0 0
Pop $0
!macroend