summaryrefslogtreecommitdiff
path: root/menu.cpp
diff options
context:
space:
mode:
authorThomas Günther <tom@toms-cafe.de>2005-10-31 22:12:41 +0100
committerThomas Günther <tom@toms-cafe.de>2005-10-31 22:12:41 +0100
commit972bae6ba5f4bb7d42f2025d97e0316fb12af098 (patch)
tree222462ea21126f60f8d431c4aa22462b6521437d /menu.cpp
parentf1f008168b2e70aee297972dda7f6601a22d7bfd (diff)
downloadvdr-plugin-sudoku-972bae6ba5f4bb7d42f2025d97e0316fb12af098.tar.gz
vdr-plugin-sudoku-972bae6ba5f4bb7d42f2025d97e0316fb12af098.tar.bz2
Added setup option whether or not all cells are unmarked when the puzzle is reset
Diffstat (limited to 'menu.cpp')
-rw-r--r--menu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/menu.cpp b/menu.cpp
index 2a4e422..0276066 100644
--- a/menu.cpp
+++ b/menu.cpp
@@ -3,7 +3,7 @@
*
* See the README file for copyright information and how to reach the author.
*
- * $Id: menu.cpp 11 2005-10-28 01:00:01Z tom $
+ * $Id: menu.cpp 16 2005-10-31 21:12:41Z tom $
*/
#include "menu.h"
@@ -155,7 +155,7 @@ eOSState Menu::ProcessKey(eKeys key)
if (puzzle.untouched())
puzzle.generate(setup.givens_count, setup.symmetric);
else
- puzzle.reset();
+ puzzle.reset(setup.clear_marks);
break;
default:
return osContinue;