From: H.G.Muller Date: Wed, 6 Apr 2016 12:08:23 +0000 (+0200) Subject: Fix bold button fix X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=d000054f49fe0bbe459eb28b18b7bc46049b8120;p=xboard.git Fix bold button fix --- diff --git a/gtk/xoptions.c b/gtk/xoptions.c index 7ae3f3f..51d8754 100644 --- a/gtk/xoptions.c +++ b/gtk/xoptions.c @@ -1549,7 +1549,8 @@ if(appData.debugMode) printf("n=%d, h=%d, w=%d\n",n,height,width); Pack(hbox, table, fbutton, left, left+r, top, 0); break; } - if(!strcmp(option[i].name, "R") || !strcmp(option[i].name, "G") || !strcmp(option[i].name, "B")) { + if(!strcmp(option[i].name, "R") || !strcmp(option[i].name, "G") || + !strcmp(option[i].name, "B") && !strcmp(option[i+1].name, "D")) { break; } else if(!strcmp(option[i].name, "D")) {