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.
This commit is contained in:
Simon Tatham
2023-08-27 13:11:13 +01:00
parent f279c5eba0
commit d3f825c98c

View File

@ -258,7 +258,7 @@ static game_params *custom_params(const config_item *cfg)
static const char *validate_params(const game_params *params, bool full) static const char *validate_params(const game_params *params, bool full)
{ {
if (params->w < 2 || params->h < 2) 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) if (params->w > 10+26+26 || params->h > 10+26+26)
return "Puzzle is too large"; return "Puzzle is too large";
if (full) { if (full) {