chiark / gitweb /
Forbid undo of new-game if it would change the params.
[sgt-puzzles.git] / rect.c
diff --git a/rect.c b/rect.c
index fa3a7869703e7cd7a94974ecb035a114313860cd..465e1436fac50b2cfc8b125224011316f3b83178 100644 (file)
--- a/rect.c
+++ b/rect.c
@@ -2960,9 +2960,9 @@ 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,
+    game_fetch_preset, NULL,
     decode_params,
     encode_params,
     free_params,