ef_verify: Fix error message in verify_land_chr()
It points to the wrong table. Screwed up in commit 33800fc
. Correct
the pasto.
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
689652d1b0
commit
11756fc9c9
1 changed files with 2 additions and 1 deletions
|
@ -368,7 +368,7 @@ verify_land_chr(void)
|
||||||
if (!lchr[i].l_name[0])
|
if (!lchr[i].l_name[0])
|
||||||
continue;
|
continue;
|
||||||
if ((lchr[i].l_flags & L_SPY) && lchr[i].l_item[I_MILIT]) {
|
if ((lchr[i].l_flags & L_SPY) && lchr[i].l_item[I_MILIT]) {
|
||||||
verify_fail(EF_PLANE_CHR, i, NULL, 0,
|
verify_fail(EF_LAND_CHR, i, NULL, 0,
|
||||||
"flag %s requires zero milit",
|
"flag %s requires zero milit",
|
||||||
symbol_by_value(L_SPY, land_chr_flags));
|
symbol_by_value(L_SPY, land_chr_flags));
|
||||||
retval = -1;
|
retval = -1;
|
||||||
|
@ -376,6 +376,7 @@ verify_land_chr(void)
|
||||||
}
|
}
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
verify_products(void)
|
verify_products(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue