Push instead of writing to $0
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2158 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
835461d69a
commit
a5257b1d26
3 changed files with 7 additions and 8 deletions
|
@ -393,13 +393,13 @@ __declspec(dllexport) void download (HWND parent,
|
|||
}
|
||||
|
||||
if (g_cancelled) {
|
||||
setuservariable(INST_0, "cancel");
|
||||
pushstring("cancel");
|
||||
DeleteFile(filename);
|
||||
} else if (error == NULL) {
|
||||
setuservariable(INST_0, "success");
|
||||
pushstring("success");
|
||||
} else {
|
||||
DeleteFile(filename);
|
||||
setuservariable(INST_0, error);
|
||||
pushstring(error);
|
||||
}
|
||||
|
||||
delete get;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue