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:
parent
32fda4e830
commit
859bc9a82d
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue