chiark / gitweb /
Rename the docs section for Rectangles.
authorSimon Tatham <anakin@pobox.com>
Thu, 7 Jan 2016 19:33:34 +0000 (19:33 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 7 Jan 2016 19:35:32 +0000 (19:35 +0000)
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.

puzzles.but
rect.c

index dfb58030837cbe9cc3f6ce666a11954c2149dd2b..ac7f564dccf5973deeae745302eb0dfbd001317f 100644 (file)
@@ -760,7 +760,7 @@ for, the more likely it is that solutions shorter than the target
 length will turn out to be possible.
 
 
-\C{rectangles} \i{Rectangles}
+\C{rect} \i{Rectangles}
 
 \cfg{winhelp-topic}{games.rectangles}
 
diff --git a/rect.c b/rect.c
index fa3a7869703e7cd7a94974ecb035a114313860cd..2f603cbd3fe231cd2fd54b26cb3b058f92f3042a 100644 (file)
--- a/rect.c
+++ b/rect.c
@@ -2960,7 +2960,7 @@ static void game_print(drawing *dr, const game_state *state, int tilesize)
 #endif
 
 const struct game thegame = {
-    "Rectangles", "games.rectangles", "rectangles",
+    "Rectangles", "games.rectangles", "rect",
     default_params,
     game_fetch_preset,
     decode_params,