summaryrefslogtreecommitdiffstats
path: root/games/atc/update.c
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 03:37:36 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 03:37:36 +0000
commit30ef9631c5eac7f8254bd3d7ad274d34d9f518b8 (patch)
tree4d8ac7e75ac179a918a76def244de6e3f3314e76 /games/atc/update.c
parent188803394908f222ab3ed8ec32331eb6dd00fd2d (diff)
downloadFreeBSD-src-30ef9631c5eac7f8254bd3d7ad274d34d9f518b8.zip
FreeBSD-src-30ef9631c5eac7f8254bd3d7ad274d34d9f518b8.tar.gz
Remove trailing whitespace.
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