diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2009-12-21 16:28:58 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2009-12-21 16:28:58 +0000 |
| commit | db322329bca64ded40478a34564c014d8a062a46 (patch) | |
| tree | 8daa9d33b45d6852cf4de298e5770c111a2e161c | |
| parent | bdbea142186f81c0efeb00db4a5d3c8722b6496c (diff) | |
Fixed index for difficulty menu entry - thanks to Manolo Gouy for
finding this (STR #2221).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6972 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | test/sudoku.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sudoku.cxx b/test/sudoku.cxx index 5cabc5f20..69287b169 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); |
