From 41f1f8b504c65d3730ad053a6e35f8a461e0bce0 Mon Sep 17 00:00:00 2001 From: anders_k Date: Thu, 6 Mar 2014 17:26:49 +0000 Subject: [PATCH] lstrcpy is overkill there git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6448 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/System/Source/System.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Contrib/System/Source/System.c b/Contrib/System/Source/System.c index 9b3f3f0c..053517e6 100644 --- a/Contrib/System/Source/System.c +++ b/Contrib/System/Source/System.c @@ -1044,7 +1044,7 @@ void ParamsOut(SystemProc *proc) switch (proc->Params[i].Type) { case PAT_VOID: - lstrcpy(realbuf,_T("")); + *realbuf = _T('\0'); break; case PAT_INT: wsprintf(realbuf, _T("%d"), (int)(*((INT_PTR*) place)));