fixed bug #1651312 - InstallOptions browse button not working

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4921 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2007-02-03 18:30:55 +00:00
parent 82910689b3
commit 618bfabd4a

View file

@ -611,7 +611,10 @@ LRESULT WINAPI WMCommandProc(HWND hWnd, UINT id, HWND hwndCtl, UINT codeNotify)
} }
if (pFields[nIdx].nType == FIELD_BROWSEBUTTON) if (pFields[nIdx].nType == FIELD_BROWSEBUTTON)
{
--nIdx; --nIdx;
--pField;
}
char szBrowsePath[MAX_PATH]; char szBrowsePath[MAX_PATH];