(verify_fail): Print index as it looks in input.
This commit is contained in:
parent
c940c76a01
commit
454c6df5ef
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ verify_fail(int type, int row, struct castr *ca, int idx, char *fmt, ...)
|
||||||
EF_IS_GAME_STATE(i) ? "File" : "Config",
|
EF_IS_GAME_STATE(i) ? "File" : "Config",
|
||||||
ef_nameof(type), row, ca->ca_name);
|
ef_nameof(type), row, ca->ca_name);
|
||||||
if (ca->ca_type != NSC_STRINGY && ca->ca_len != 0)
|
if (ca->ca_type != NSC_STRINGY && ca->ca_len != 0)
|
||||||
fprintf(stderr, " index %d", idx);
|
fprintf(stderr, "(%d)", idx);
|
||||||
fprintf(stderr, ": ");
|
fprintf(stderr, ": ");
|
||||||
va_start(ap, fmt);
|
va_start(ap, fmt);
|
||||||
vfprintf(stderr, fmt, ap);
|
vfprintf(stderr, fmt, ap);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue