From: H.G. Muller Date: Mon, 26 Mar 2012 15:06:33 +0000 (+0200) Subject: Add message about enabling in New Variant dialog X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=747fb0571c0942f12845351dca22af723300cc09;p=xboard.git Add message about enabling in New Variant dialog --- diff --git a/dialogs.c b/dialogs.c index 0a48602..5f269a6 100644 --- a/dialogs.c +++ b/dialogs.c @@ -382,7 +382,10 @@ OptionsProc () static void Pick P((int n)); +static char warning[MSG_SIZ]; + static Option variantDescriptors[] = { +{ 0, 0, 275, NULL, NULL, NULL, NULL, Label, warning }, { VariantNormal, 0, 135, NULL, (void*) &Pick, "#FFFFFF", NULL, Button, N_("normal")}, { VariantFairy, SAME_ROW, 135, NULL, (void*) &Pick, "#BFBFBF", NULL, Button, N_("fairy")}, { VariantFischeRandom, 0, 135, NULL, (void*) &Pick, "#FFFFFF", NULL, Button, N_("FRC")}, @@ -463,6 +466,7 @@ Pick (int n) void NewVariantProc () { + sprintf(warning, _("All variants not supported by first engine\n(currently %s) are disabled"), first.tidy); GenericPopUp(variantDescriptors, _("New Variant"), TransientDlg, BoardWindow, MODAL, 0); }