fixed bug #1174184 - end of InstallDir appended after browse with custom dir var
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4875 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
6e6b20ea64
commit
f47023d9df
1 changed files with 2 additions and 1 deletions
|
@ -955,7 +955,8 @@ static BOOL CALLBACK DirProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
|
|||
|
||||
addtrailingslash(dir);
|
||||
|
||||
if (g_header->install_directory_auto_append)
|
||||
if (g_header->install_directory_auto_append &&
|
||||
dir == state_install_directory) // only append to $INSTDIR (bug #1174184)
|
||||
{
|
||||
const char *post_str = ps_tmpbuf;
|
||||
GetNSISStringTT(g_header->install_directory_auto_append);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue