Fix display of Spin Options with negative range
[xboard.git] / winboard / wsettings.c
index 215ea18..9c4c967 100644 (file)
@@ -575,8 +575,8 @@ void AddOption(int x, int y, Control type, int i)
     int extra, num = ES_NUMBER;\r
 \r
     switch(type) {\r
-//     case Slider+100:\r
-//         num = 0; // needs text control for accepting negative numbers\r
+       case Spin+100:\r
+           num = 0; // needs text control for accepting negative numbers\r
        case Slider:\r
        case Spin:\r
            AddControl(x, y+1, 95, 9, 0x0082, SS_ENDELLIPSIS | WS_VISIBLE | WS_CHILD, i);\r