From: simon Date: Tue, 4 May 2004 10:24:08 +0000 (+0000) Subject: Forgot to set up the initial value of checkboxes. X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/commitdiff_plain/42132f2d662cd51e696af7923f7331bfb636b0cd Forgot to set up the initial value of checkboxes. git-svn-id: svn://svn.tartarus.org/sgt/puzzles@4199 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/windows.c b/windows.c index 90d96d2..6fb651c 100644 --- a/windows.c +++ b/windows.c @@ -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;