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:
parent
9ba36b14f5
commit
41f1f8b504
1 changed files with 1 additions and 1 deletions
|
@ -1044,7 +1044,7 @@ void ParamsOut(SystemProc *proc)
|
||||||
switch (proc->Params[i].Type)
|
switch (proc->Params[i].Type)
|
||||||
{
|
{
|
||||||
case PAT_VOID:
|
case PAT_VOID:
|
||||||
lstrcpy(realbuf,_T(""));
|
*realbuf = _T('\0');
|
||||||
break;
|
break;
|
||||||
case PAT_INT:
|
case PAT_INT:
|
||||||
wsprintf(realbuf, _T("%d"), (int)(*((INT_PTR*) place)));
|
wsprintf(realbuf, _T("%d"), (int)(*((INT_PTR*) place)));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue