From d14693d307b6afdd6f3302d96b15b605b64b64c9 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Mon, 21 Dec 2009 16:35:06 +0000 Subject: [PATCH] Fixed index for sudoku difficulty menu entry - thanks to Manolo Gouy for finding this, mentioned "BTW" in STR #2221. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6973 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/sudoku.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sudoku.cxx b/test/sudoku.cxx index df2a6a2b3..b2ce986b3 100644 --- a/test/sudoku.cxx +++ b/test/sudoku.cxx @@ -667,7 +667,7 @@ Sudoku::Sudoku() prefs_.get("difficulty", difficulty_, 0); if (difficulty_ < 0 || difficulty_ > 3) difficulty_ = 0; - items[8 + difficulty_].flags |= FL_MENU_VALUE; + items[10 + difficulty_].flags |= FL_MENU_VALUE; menubar_ = new Fl_Sys_Menu_Bar(0, 0, 3 * GROUP_SIZE, 25); menubar_->menu(items);