Forgot to set up the initial value of checkboxes.

[originally from svn r4199]
This commit is contained in:
Simon Tatham
2004-05-04 10:24:08 +00:00
parent 2f999a9a59
commit 7ba4c00b98

View File

@ -684,6 +684,7 @@ static int get_config(frontend *fe, int which)
mkctrl(fe, col1l, col2r, y, y+height, "BUTTON",
BS_NOTIFY | BS_AUTOCHECKBOX | WS_TABSTOP,
0, i->name, (j->ctlid = id++));
CheckDlgButton(fe->cfgbox, j->ctlid, (i->ival != 0));
y += height;
break;