From d1c225ba8ff8313c05459fa454efed007fa03642 Mon Sep 17 00:00:00 2001 From: kichik Date: Tue, 17 May 2005 19:52:44 +0000 Subject: [PATCH] reset $INSTDIR if user clicked cancel in the browse dialog git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4029 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/exehead/Ui.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/exehead/Ui.c b/Source/exehead/Ui.c index 4ce446f7..e00a91c9 100644 --- a/Source/exehead/Ui.c +++ b/Source/exehead/Ui.c @@ -889,6 +889,10 @@ static BOOL CALLBACK DirProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar dontsetdefstyle++; SetUITextNT(IDC_DIR,dir); } + else + { + uMsg = WM_IN_UPDATEMSG; + } } } if (uMsg == WM_IN_UPDATEMSG || uMsg == WM_NOTIFY_START)