aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2016-01-07 19:33:34 +0000
committerSimon Tatham <anakin@pobox.com>2016-01-07 19:35:32 +0000
commit1d9d6cbf12733a0e157c6e06cdf1932db77d1cd9 (patch)
tree9016530e204d31fba7d6a8dfefb27cb35bd55a53
parentfa64ed3e875e005452e5ecd639bd1d6099387bd7 (diff)
downloadpuzzles-1d9d6cbf12733a0e157c6e06cdf1932db77d1cd9.zip
puzzles-1d9d6cbf12733a0e157c6e06cdf1932db77d1cd9.tar.gz
puzzles-1d9d6cbf12733a0e157c6e06cdf1932db77d1cd9.tar.bz2
puzzles-1d9d6cbf12733a0e157c6e06cdf1932db77d1cd9.tar.xz
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.
-rw-r--r--puzzles.but2
-rw-r--r--rect.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/puzzles.but b/puzzles.but
index dfb5803..ac7f564 100644
--- a/puzzles.but
+++ b/puzzles.but
@@ -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 fa3a786..2f603cb 100644
--- 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,