consistency fix
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2442 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
9d7a3b5d2a
commit
15f5bdfb4b
1 changed files with 1 additions and 1 deletions
|
@ -504,7 +504,7 @@ char *EvaluateDebugString(progfuncs_t *progfuncs, char *key)
|
||||||
fdef = ED_FindField (progfuncs, assignment);
|
fdef = ED_FindField (progfuncs, assignment);
|
||||||
if (!fdef)
|
if (!fdef)
|
||||||
{
|
{
|
||||||
sprintf(buf, "Can't find field %s\n", assignment);
|
snprintf(buf, sizeof(buf), "Can't find field %s\n", assignment);
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
*(int *)val = G_INT(fdef->ofs);
|
*(int *)val = G_INT(fdef->ofs);
|
||||||
|
|
Loading…
Reference in a new issue