Add a back-slash to $INSTDIR when loading dir page only when it's a root directory
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2971 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
0022d880b4
commit
ae2697bc56
1 changed files with 3 additions and 1 deletions
|
@ -737,7 +737,9 @@ static BOOL CALLBACK DirProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
|
|||
ShowWindow(h,SW_SHOWNA);
|
||||
}
|
||||
#endif
|
||||
SetUITextNT(IDC_DIR,addtrailingslash(dir));
|
||||
if (validpathspec(dir) && !skip_root(dir))
|
||||
addtrailingslash(dir);
|
||||
SetUITextNT(IDC_DIR,dir);
|
||||
SetUITextFromLang(IDC_BROWSE,this_page->parms[2]);
|
||||
SetUITextFromLang(IDC_SELDIRTEXT,this_page->parms[1]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue