From: Simon Tatham Date: Tue, 4 May 2004 10:24:08 +0000 (+0000) Subject: Forgot to set up the initial value of checkboxes. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=7ba4c00b981893d99ce47e6e43d773ff1168ff88;p=sgt-puzzles.git Forgot to set up the initial value of checkboxes. [originally from svn r4199] --- 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;