From: H.G.Muller Date: Sun, 19 Oct 2014 11:16:43 +0000 (+0200) Subject: Fix display of Spin Options with negative range X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=d58346a35018c656365a89714b2496a562062aa9;p=xboard.git Fix display of Spin Options with negative range --- diff --git a/winboard/wsettings.c b/winboard/wsettings.c index 215ea18..9c4c967 100644 --- a/winboard/wsettings.c +++ b/winboard/wsettings.c @@ -575,8 +575,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);