shithub: puzzles

Download patch

ref: d3f825c98c2877ca3e2763492ba99973c1b9dc5f
parent: f279c5eba035d018a8805a65a8a245b8b8d2ea2e
author: Simon Tatham <anakin@pobox.com>
date: Sun Aug 27 09:11:13 EDT 2023

Singles: fix spelling in a validate_params error.

'height', not 'neight'. Apparently has been misspelled since the
puzzle was first committed. I suppose they look similar enough that it
never caused a problem.

--- a/singles.c
+++ b/singles.c
@@ -258,7 +258,7 @@
 static const char *validate_params(const game_params *params, bool full)
 {
     if (params->w < 2 || params->h < 2)
-	return "Width and neight must be at least two";
+	return "Width and height must be at least two";
     if (params->w > 10+26+26 || params->h > 10+26+26)
         return "Puzzle is too large";
     if (full) {