(acce, rea, rela, snxtitem): Pass NULL as prompt when the prompt won't
be used.
This commit is contained in:
parent
1b63d30a51
commit
604fe007c0
4 changed files with 4 additions and 4 deletions
|
@ -72,7 +72,7 @@ snxtitem(struct nstr_item *np, int type, s_char *str)
|
|||
return 0;
|
||||
}
|
||||
if (type == EF_NATION && isalpha(*str)) {
|
||||
sprintf(natnumber, "%d", natarg(str, ""));
|
||||
sprintf(natnumber, "%d", natarg(str, NULL));
|
||||
str = natnumber;
|
||||
}
|
||||
flags = ef_flags(type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue