X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=dialogs.c;h=bdf775fc1b99c71f2f548cd6f2c752d327665d43;hb=184f27e9fd01a5b639c38510767e5c22bcb6a9da;hp=220f074bd95e968d384822da72da417f0105006a;hpb=798c4449e01a9f8e2e64cd822e7a7f84a0b5dec0;p=xboard.git diff --git a/dialogs.c b/dialogs.c index 220f074..bdf775f 100644 --- a/dialogs.c +++ b/dialogs.c @@ -1771,7 +1771,7 @@ PromotionPopUp (char choice) { // choice depends on variant: prepare dialog acordingly count = 8; SetPromo(_("Cancel"), --count, -1); // Beware: GenericPopUp cannot handle user buttons named "cancel" (lowe case)! - if(choice != '+') { + if(choice != '+' && !IS_SHOGI(gameInfo.variant)) { if (!appData.testLegality || gameInfo.variant == VariantSuicide || gameInfo.variant == VariantSpartan && !WhiteOnMove(currentMove) || gameInfo.variant == VariantGiveaway) {