X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwsettings.c;h=bbf9003605e46201f6719ac7eb6ff517822dd48c;hb=0278ebc80411a20fd23303156285e55ce8d2b0a5;hp=215ea189c89c0b2345754a315c8e5811656bfb33;hpb=5fcd68c64763478d3e05f58d4c21508e8dab97d5;p=xboard.git diff --git a/winboard/wsettings.c b/winboard/wsettings.c index 215ea18..bbf9003 100644 --- a/winboard/wsettings.c +++ b/winboard/wsettings.c @@ -1,7 +1,8 @@ /* * woptions.h -- Options dialog box routines for WinBoard * - * Copyright 2003, 2009, 2010, 2011, 2012, 2013, 2014 Free Software Foundation, Inc. + * Copyright 2003, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Free + * Software Foundation, Inc. * * ------------------------------------------------------------------------ * @@ -575,8 +576,8 @@ void AddOption(int x, int y, Control type, int i) int extra, num = ES_NUMBER; switch(type) { -// case Slider+100: -// num = 0; // needs text control for accepting negative numbers + case Spin+100: + num = 0; // needs text control for accepting negative numbers case Slider: case Spin: AddControl(x, y+1, 95, 9, 0x0082, SS_ENDELLIPSIS | WS_VISIBLE | WS_CHILD, i);