fixed bug #1331292 - browsed network root directory isn't accepted
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4432 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
1957dfacad
commit
03ffaef32d
1 changed files with 3 additions and 1 deletions
|
@ -901,6 +901,8 @@ static BOOL CALLBACK DirProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
|
|||
// free idlist
|
||||
FreePIDL(idlist);
|
||||
|
||||
addtrailingslash(dir);
|
||||
|
||||
if (g_header->install_directory_auto_append)
|
||||
{
|
||||
const char *post_str = ps_tmpbuf;
|
||||
|
@ -908,7 +910,7 @@ static BOOL CALLBACK DirProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
|
|||
// display name gives just the folder name
|
||||
if (lstrcmpi(post_str, g_tmp))
|
||||
{
|
||||
mystrcat(addtrailingslash(dir), post_str);
|
||||
mystrcat(dir, post_str);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue