X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=dialogs.c;fp=dialogs.c;h=11a3be351b4a9f755b46962128058e01ac359214;hb=406c6ab4dfbef3ace867dbe2ffd54072e4e48113;hp=fe8f8cc0220b7e42199a219726ea6f3a9ddbcd77;hpb=d57379116670e685638d980aa8432b3371f70f0a;p=xboard.git diff --git a/dialogs.c b/dialogs.c index fe8f8cc..11a3be3 100644 --- a/dialogs.c +++ b/dialogs.c @@ -1627,7 +1627,7 @@ static void AdjustFont P((int n)); static int FontsOK (int n) { - extern Option historyOptions[], engoutOptions[], gamesOptions[]; + extern Option historyOptions[], engoutOptions[], gamesOptions[], chatOptions[]; int i; DisplayBothClocks(); ApplyFont(&mainOptions[W_MESSG], NULL); @@ -1637,6 +1637,8 @@ FontsOK (int n) ApplyFont(&engoutOptions[5], NULL); ApplyFont(&engoutOptions[12], NULL); ApplyFont(&gamesOptions[0], NULL); + ApplyFont(&chatOptions[11], appData.icsFont); + AppendColorized(&chatOptions[6], NULL, 0); // kludge to replace font tag DrawPosition(TRUE, NULL); // for coord font return 1; } @@ -1652,7 +1654,7 @@ static Option fontOptions[] = { { 2, SAME_ROW, 0, NULL, (void*) &AdjustFont, NULL, NULL, Button, N_("-") }, { 3, SAME_ROW, 0, NULL, (void*) &AdjustFont, NULL, NULL, Button, N_("B") }, { 4, SAME_ROW, 0, NULL, (void*) &AdjustFont, NULL, NULL, Button, N_("I") }, - { 0, 60, 70, NULL, (void*) &appData.coordFont, NULL, NULL, TextBox, N_("Board coordinates:") }, + { 0, 60, 70, NULL, (void*) &appData.icsFont, NULL, NULL, TextBox, N_("ICS Chat/Console:") }, { 1, SAME_ROW, 0, NULL, (void*) &AdjustFont, NULL, NULL, Button, N_("+") }, { 2, SAME_ROW, 0, NULL, (void*) &AdjustFont, NULL, NULL, Button, N_("-") }, { 3, SAME_ROW, 0, NULL, (void*) &AdjustFont, NULL, NULL, Button, N_("B") },