summaryrefslogtreecommitdiffstats
path: root/games/atc/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/atc/list.c')
-rw-r--r--games/atc/list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/atc/list.c b/games/atc/list.c
index 16c019a..be2bbd0 100644
--- a/games/atc/list.c
+++ b/games/atc/list.c
@@ -99,7 +99,7 @@ delete(l, p)
{
if (l->head == NULL)
loser(p, "deleted a non-existant plane! Get help!");
-
+
if (l->head == p && l->tail == p)
l->head = l->tail = NULL;
else if (l->head == p) {
OpenPOWER on IntegriCloud