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
This commit is contained in:
parent
bdbea14218
commit
db322329bc
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user