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