From d58346a35018c656365a89714b2496a562062aa9 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Sun, 19 Oct 2014 13:16:43 +0200 Subject: [PATCH] Fix display of Spin Options with negative range --- winboard/wsettings.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 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); -- 1.7.0.4