chiark / gitweb /
Forgot to set up the initial value of checkboxes.
authorSimon Tatham <anakin@pobox.com>
Tue, 4 May 2004 10:24:08 +0000 (10:24 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 4 May 2004 10:24:08 +0000 (10:24 +0000)
[originally from svn r4199]

windows.c

index 90d96d2e83a7ff4b64877a295188f14a74d3790c..6fb651cd5a59fdd761d46ffe51311fe0cf0c4c29 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;