lstrcpy is overkill there

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6448 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2014-03-06 17:26:49 +00:00
parent 9ba36b14f5
commit 41f1f8b504

View file

@ -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)));