mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[plist] Put quotes around the unknown field name
I got rather confused by "unknown field type" when "type" was the field name.
This commit is contained in:
parent
387051fedf
commit
57da924c1b
2 changed files with 2 additions and 2 deletions
|
@ -1433,7 +1433,7 @@ PL_ParseStruct (const plfield_t *fields, const plitem_t *item, void *data,
|
|||
}
|
||||
}
|
||||
if (!f->name) {
|
||||
PL_Message (messages, item, "error: unknown field %s",
|
||||
PL_Message (messages, item, "error: unknown field '%s'",
|
||||
current->key);
|
||||
result = 0;
|
||||
}
|
||||
|
|
|
@ -161,7 +161,7 @@ find_field (plfield_t *fields, const char *field_name,
|
|||
return f;
|
||||
}
|
||||
}
|
||||
PL_Message (messages, item, "error: unknown field %s", field_name);
|
||||
PL_Message (messages, item, "error: unknown field '%s'", field_name);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue