(copy, atopi, same): Remove, use strcpy(), atoi(), strcmp(). Callers
changed. Remove empty source files.
This commit is contained in:
parent
9c90022634
commit
d0feb8570a
11 changed files with 11 additions and 311 deletions
|
@ -128,8 +128,8 @@ do_treaty(void)
|
|||
cp = getstring("Proposed treaty duration? (days) ", buf);
|
||||
if (cp == 0)
|
||||
return RET_FAIL;
|
||||
j = atopi(cp);
|
||||
if (j == 0) {
|
||||
j = atoi(cp);
|
||||
if (j <= 0) {
|
||||
pr("Bad treaty duration.\n");
|
||||
return RET_SYN;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue