fixed bug #1955803 - SelectFileDialog returns stack garbage if user cancels
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5619 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
8939702c68
commit
35c097b448
1 changed files with 4 additions and 0 deletions
|
@ -146,6 +146,10 @@ void __declspec(dllexport) SelectFileDialog(HWND hwndParent, int string_size, ch
|
||||||
pushstring("");
|
pushstring("");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
pushstring("");
|
||||||
|
}
|
||||||
|
|
||||||
// restore working dir
|
// restore working dir
|
||||||
// OFN_NOCHANGEDIR doesn't always work (see MSDN)
|
// OFN_NOCHANGEDIR doesn't always work (see MSDN)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue