summaryrefslogtreecommitdiffstats
path: root/games/atc/update.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/atc/update.c')
-rw-r--r--games/atc/update.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/games/atc/update.c b/games/atc/update.c
index 1b94e8a..79bc601 100644
--- a/games/atc/update.c
+++ b/games/atc/update.c
@@ -157,10 +157,10 @@ update()
if (pp->xpos == sp->airport[i].x &&
pp->ypos == sp->airport[i].y) {
if (pp->dest_type == T_AIRPORT)
- loser(pp,
+ loser(pp,
"landed at the wrong airport.");
else
- loser(pp,
+ loser(pp,
"landed instead of exited.");
}
loser(pp, "crashed on the ground.");
@@ -171,10 +171,10 @@ update()
if (pp->xpos == sp->exit[i].x &&
pp->ypos == sp->exit[i].y) {
if (pp->dest_type == T_EXIT)
- loser(pp,
+ loser(pp,
"exited via the wrong exit.");
else
- loser(pp,
+ loser(pp,
"exited instead of landed.");
}
loser(pp, "illegally left the flight arena.");
@@ -228,7 +228,7 @@ command(pp)
buf[0] = '\0';
bp = buf;
- (void)sprintf(bp, "%c%d%c%c%d: ", name(pp), pp->altitude,
+ (void)sprintf(bp, "%c%d%c%c%d: ", name(pp), pp->altitude,
(pp->fuel < LOWFUEL) ? '*' : ' ',
(pp->dest_type == T_AIRPORT) ? 'A' : 'E', pp->dest_no);
@@ -245,7 +245,7 @@ command(pp)
(void)sprintf(bp, " @ B%d", pp->delayd_no);
bp = index(buf, '\0');
- if (*comm_start == '\0' &&
+ if (*comm_start == '\0' &&
(pp->status == S_UNMARKED || pp->status == S_IGNORED))
strcpy(bp, "---------");
return (buf);
@@ -267,7 +267,7 @@ number(l)
return (-1);
else if (l >= 'a' && l <= 'z')
return (l - 'a');
- else
+ else
return (l - 'A');
}
OpenPOWER on IntegriCloud