Fixed a bug that prevented the last letter from getting copied
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@885 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
52892d7e6d
commit
0f830fbf45
1 changed files with 1 additions and 1 deletions
|
@ -1454,7 +1454,7 @@ static BOOL CALLBACK InstProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
|
|||
EmptyClipboard();
|
||||
memory = GlobalAlloc(GMEM_MOVEABLE,total+1);
|
||||
ptr = GlobalLock(memory);
|
||||
endPtr = ptr+total;
|
||||
endPtr = ptr+total+1;
|
||||
for (i = 0; i < count; i++)
|
||||
{
|
||||
// -2 to allow for CR/LF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue