aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--towers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/towers.c b/towers.c
index e0dad48..661514c 100644
--- a/towers.c
+++ b/towers.c
@@ -893,6 +893,7 @@ static const char *validate_desc(const game_params *params, const char *desc)
return "Too much data to fit in grid";
}
+ if (*p) return "Rubbish at end of game description";
return NULL;
}