make the PF_Find search field error more informative

This commit is contained in:
Bill Currie 2003-01-20 21:28:36 +00:00
parent c5eb7d6e94
commit 1342533234

View file

@ -298,7 +298,7 @@ PF_Find (progs_t *pr)
f = P_INT (pr, 1);
field_def = ED_FieldAtOfs (pr, f);
if (!field_def)
PR_RunError (pr, "PF_Find: bad search field");
PR_RunError (pr, "PF_Find: bad search field: %d", f);
type = field_def->type & ~DEF_SAVEGLOBAL;
if (type == ev_string) {