X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwsettings.c;h=257fcd2d0d491b264ff573903bb103842a02c22d;hb=18fc21bfe47cf80d294fffc22eb00d7f4384cd62;hp=8907a3b0c37e51ee9afcef5a65829727beb27f15;hpb=086c92733f7ad1f514ef908c6fbc1db3663cda28;p=xboard.git diff --git a/winboard/wsettings.c b/winboard/wsettings.c index 8907a3b..257fcd2 100644 --- a/winboard/wsettings.c +++ b/winboard/wsettings.c @@ -52,6 +52,7 @@ PrintOpt(int i, int right, ChessProgramState *cps) break; case Button: case SaveButton: + case ResetButton: fprintf(debugFP, "[ %26.26s ]", opt.name); case Message: break; @@ -86,6 +87,7 @@ LayoutOptions(int firstOption, int endOption, char *groupName, Option *optionLis switch(nextType = optionList[nextOption].type) { case CheckBox: checkList[checks++] = nextOption; lastType = CheckBox; break; case ComboBox: comboList[combos++] = nextOption; lastType = ComboBox; break; + case ResetButton: case SaveButton: case Button: buttonList[buttons++] = nextOption; lastType = Button; break; case TextBox: @@ -596,6 +598,7 @@ void AddOption(int x, int y, Control type, int i) AddControl(x+95, y-1, 50, 500, 0x0085, CBS_AUTOHSCROLL | CBS_DROPDOWN | WS_VISIBLE | WS_CHILD | WS_TABSTOP, i+1); break; case Button: + case ResetButton: case SaveButton: AddControl(x-2, y, 65, 13, 0x0080, BS_PUSHBUTTON | WS_VISIBLE | WS_CHILD, i); case Message: