Cosmetics.
This commit is contained in:
parent
523936cfef
commit
3aea505aa7
4 changed files with 5 additions and 5 deletions
|
@ -74,7 +74,7 @@ coas(void)
|
|||
float tech;
|
||||
struct nstr_item ni;
|
||||
|
||||
if (snxtsct(&nstr, player->argp[1]) == 0)
|
||||
if (!snxtsct(&nstr, player->argp[1]))
|
||||
return RET_SYN;
|
||||
for (i = 0; i < TSIZE; i++)
|
||||
list[i] = 0;
|
||||
|
|
|
@ -210,7 +210,7 @@ fuel(void)
|
|||
if (!player->argp[4])
|
||||
pr("%s is not in a supplied, efficient harbor\n",
|
||||
prship(&item.ship));
|
||||
if (!snxtitem (&tender, EF_SHIP,
|
||||
if (!snxtitem(&tender, EF_SHIP,
|
||||
getstarg(player->argp[4], "Oiler? ", buf)))
|
||||
continue;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ skyw(void)
|
|||
float tech;
|
||||
struct nstr_item ni;
|
||||
|
||||
if (snxtsct(&nstr, player->argp[1]) == 0)
|
||||
if (!snxtsct(&nstr, player->argp[1]))
|
||||
return RET_SYN;
|
||||
for (i = 0; i < TSIZE; i++)
|
||||
list[i] = 0;
|
||||
|
|
|
@ -96,7 +96,7 @@ emp_config(char *file)
|
|||
return -1;
|
||||
}
|
||||
|
||||
while (fgets(buf, sizeof buf, fp) != NULL) {
|
||||
while (fgets(buf, sizeof(buf), fp) != NULL) {
|
||||
++lno;
|
||||
for (i = 0; buf[i] && isspace(buf[i]); ++i) ;
|
||||
if (!buf[i] || buf[i] == '#')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue