Forgot to set up the initial value of checkboxes.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 4 May 2004 10:24:08 +0000 (10:24 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 4 May 2004 10:24:08 +0000 (10:24 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@4199 cda61777-01e9-0310-a592-d414129be87e

windows.c

index 90d96d2..6fb651c 100644 (file)
--- 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;