From: H.G.Muller Date: Wed, 6 Apr 2016 10:13:52 +0000 (+0200) Subject: Fix Bold button and application of commentFont X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=commitdiff_plain;h=860250c0cf8a2ed671862d447e710686b539945a 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. --- 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);