yet even more GetChars calls added.
This commit is contained in:
parent
c94c63110e
commit
7a5a2858a2
46 changed files with 190 additions and 190 deletions
|
|
@ -1209,7 +1209,7 @@ bool DMenuItemBase::GetString(int i, char *s, int len)
|
|||
FString retstr;
|
||||
VMReturn ret[2]; ret[0].IntAt(&retval); ret[1].StringAt(&retstr);
|
||||
VMCall(func, params, countof(params), ret, 2);
|
||||
strncpy(s, retstr, len);
|
||||
strncpy(s, retstr.GetChars(), len);
|
||||
return !!retval;
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue