From c3c64cc054125aa802e1f171d02f7e3cba75fd40 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Fri, 20 Apr 2012 10:29:36 +0200 Subject: [PATCH] Fix WB Engine Settings window The listbox patch has broken this window, by making it only list the first option of the engine, by switching to the next column based on a >= test rather than == test. Fixed by using 1000 as invalid value for the break point, rather than -1. --- winboard/wsettings.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/winboard/wsettings.c b/winboard/wsettings.c index 5bbcc30..65f9e78 100644 --- a/winboard/wsettings.c +++ b/winboard/wsettings.c @@ -602,7 +602,7 @@ void AddOption(int x, int y, Control type, int i) void CreateDialogTemplate(int *layoutList, int nr, Option *optionList) { - int i, ii, j, x=1, y=0, maxY=0, buttonRows, breakPoint = -1, k=0; + int i, ii, j, x=1, y=0, maxY=0, buttonRows, breakPoint = 1000, k=0; template.header.cdit = 0; template.header.cx = 307; -- 1.7.0.4