From 0f830fbf4570b193b4b1b7ad545e22e4224b366e Mon Sep 17 00:00:00 2001 From: kichik Date: Tue, 3 Sep 2002 11:33:55 +0000 Subject: [PATCH] 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 --- Source/exehead/Ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/exehead/Ui.c b/Source/exehead/Ui.c index e7506345..9e272b0b 100644 --- a/Source/exehead/Ui.c +++ b/Source/exehead/Ui.c @@ -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