(copy, atopi, same): Remove, use strcpy(), atoi(), strcmp(). Callers

changed.  Remove empty source files.
This commit is contained in:
Markus Armbruster 2004-01-08 10:20:44 +00:00
parent 9c90022634
commit d0feb8570a
11 changed files with 11 additions and 311 deletions

View file

@ -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;
}