fixed bug #1314004 - Copy details to clipboard can crash

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4365 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2005-10-27 20:41:37 +00:00
parent 007e84ae39
commit 3b1ff15cb0

View file

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