From 860250c0cf8a2ed671862d447e710686b539945a Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Wed, 6 Apr 2016 12:13:52 +0200 Subject: [PATCH] Fix Bold button and application of commentFont Oops! The B button in the Fonts dialog had disappeared with the suppression of the B(lue) button in the Board dialog! The comment font was applied to the wrong widget in the Edit Comment dialog. --- dialogs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dialogs.c b/dialogs.c index 38f163c..c8c5729 100644 --- a/dialogs.c +++ b/dialogs.c @@ -1642,7 +1642,7 @@ FontsOK (int n) } LockBoardSize(1); // unlock if(strcmp(oldFont[3], appData.tagsFont)) fontChanged[EDITTAGS_FONT] = 1, ApplyFont(&tagsOptions[1], NULL); - if(strcmp(oldFont[4], appData.commentFont)) fontChanged[COMMENT_FONT] = 1, ApplyFont(&commentOptions[1], NULL); + if(strcmp(oldFont[4], appData.commentFont)) fontChanged[COMMENT_FONT] = 1, ApplyFont(&commentOptions[0], NULL); if(strcmp(oldFont[5], appData.historyFont)) { fontChanged[MOVEHISTORY_FONT] = 1; ApplyFont(&historyOptions[0], NULL); -- 1.7.0.4