From 747fb0571c0942f12845351dca22af723300cc09 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Mon, 26 Mar 2012 17:06:33 +0200 Subject: [PATCH] Add message about enabling in New Variant dialog --- dialogs.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) 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); } -- 1.7.0.4