Leave function for custom pages too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2335 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
156648c9d5
commit
070d1f136a
10 changed files with 81 additions and 56 deletions
|
@ -1086,9 +1086,9 @@ int CEXEBuild::resolve_coderefs(const char *str)
|
|||
page *p=(page *)ubuild_pages.get();
|
||||
int i = 0;
|
||||
while (i < build_uninst.common.num_pages) {
|
||||
if (resolve_call_int("uninstall pages","pre-page function",p->prefunc,&p->prefunc)) return 1;
|
||||
if (resolve_call_int("uninstall pages","show-page function",p->showfunc,&p->showfunc)) return 1;
|
||||
if (resolve_call_int("uninstall pages","leave-page function",p->leavefunc,&p->leavefunc)) return 1;
|
||||
if (resolve_call_int("uninstall pages","pre-page",p->prefunc,&p->prefunc)) return 1;
|
||||
if (resolve_call_int("uninstall pages","show-page",p->showfunc,&p->showfunc)) return 1;
|
||||
if (resolve_call_int("uninstall pages","leave-page",p->leavefunc,&p->leavefunc)) return 1;
|
||||
p++;
|
||||
i++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue