made the command line parser cut right on /D= and _?= and not one char before. this way foo.exe "bla"/D=..., which appears to be valid in other applications, will not get the last quote cut off.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3468 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2004-02-06 16:31:32 +00:00
parent 5ffa23ff64
commit 4e3f2c485e
2 changed files with 9 additions and 8 deletions

View file

@ -1644,7 +1644,6 @@ static BOOL CALLBACK InstProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
item.pszText = ptr;
item.cchTextMax = total;
SendMessage(linsthwnd,LVM_GETITEMTEXT,i,(LPARAM)&item);
//while (*ptr) ptr++;
ptr += mystrlen(ptr);
*(WORD*)ptr = CHAR2_TO_WORD('\r','\n');
ptr+=2;