From 4cf23412929661e51316c83dcbd1608ac31df12c Mon Sep 17 00:00:00 2001 From: kichik Date: Thu, 20 May 2004 19:44:27 +0000 Subject: [PATCH] a character in the destination buffer address was skipped if size wasn't specified git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3549 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/System/Source/Buffers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Contrib/System/Source/Buffers.c b/Contrib/System/Source/Buffers.c index 41014838..2ac61536 100644 --- a/Contrib/System/Source/Buffers.c +++ b/Contrib/System/Source/Buffers.c @@ -37,7 +37,7 @@ PLUGINFUNCTIONSHORT(Copy) size = (int) myatoi(str+1); dest = (HANDLE) popint(); } - else dest = (HANDLE) myatoi(str+1); + else dest = (HANDLE) myatoi(str); source = (HANDLE) popint(); // Ok, check the size