shithub: puzzles

Download patch

ref: 1d9d6cbf12733a0e157c6e06cdf1932db77d1cd9
parent: fa64ed3e875e005452e5ecd639bd1d6099387bd7
author: Simon Tatham <anakin@pobox.com>
date: Thu Jan 7 14:33:34 EST 2016

Rename the docs section for Rectangles.

The web page currently assumes it's called 'rect' rather than
'rectangles', because the web-page building script uses the first
field of each line of gamedesc.txt, same as the Unix binary name.
Rather than add another confusingly-almost-identical field to that
file, it's easier to just rename this one docs section to make the
assumption of equality hold.

--- a/puzzles.but
+++ b/puzzles.but
@@ -760,7 +760,7 @@
 length will turn out to be possible.
 
 
-\C{rectangles} \i{Rectangles}
+\C{rect} \i{Rectangles}
 
 \cfg{winhelp-topic}{games.rectangles}
 
--- a/rect.c
+++ b/rect.c
@@ -2960,7 +2960,7 @@
 #endif
 
 const struct game thegame = {
-    "Rectangles", "games.rectangles", "rectangles",
+    "Rectangles", "games.rectangles", "rect",
     default_params,
     game_fetch_preset,
     decode_params,