mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
Forgot to set up the initial value of checkboxes.
[originally from svn r4199]
This commit is contained in:
@ -684,6 +684,7 @@ static int get_config(frontend *fe, int which)
|
|||||||
mkctrl(fe, col1l, col2r, y, y+height, "BUTTON",
|
mkctrl(fe, col1l, col2r, y, y+height, "BUTTON",
|
||||||
BS_NOTIFY | BS_AUTOCHECKBOX | WS_TABSTOP,
|
BS_NOTIFY | BS_AUTOCHECKBOX | WS_TABSTOP,
|
||||||
0, i->name, (j->ctlid = id++));
|
0, i->name, (j->ctlid = id++));
|
||||||
|
CheckDlgButton(fe->cfgbox, j->ctlid, (i->ival != 0));
|
||||||
y += height;
|
y += height;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user