From d000054f49fe0bbe459eb28b18b7bc46049b8120 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Wed, 6 Apr 2016 14:08:23 +0200 Subject: [PATCH] Fix bold button fix --- gtk/xoptions.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) 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")) { -- 1.7.0.4