[gnome-tetravex] Fix bug.



commit 8f30b2ff23315b0bb324ac4a5a9a696fcfbe7ddd
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Sun Nov 10 14:30:04 2019 +0100

    Fix bug.

 src/cli.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/cli.vala b/src/cli.vala
index 4443952..a997500 100644
--- a/src/cli.vala
+++ b/src/cli.vala
@@ -46,8 +46,8 @@ namespace CLI
         }
         else if (can_restore)
         {
-            size = (uint8) settings.get_int (KEY_GRID_SIZE);
             puzzle = new Puzzle.restore ((!) saved_game);
+            size = puzzle.size;
             new_puzzle = false;
         }
         else


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]