X-Git-Url: http://winboard.nl/cgi-bin?p=gnushogi.git;a=blobdiff_plain;f=gnushogi%2Frawdsp.c;h=1a1035b85c72f642cb9d7ca6592be4a0c24e52ae;hp=588f13f74da33b2bc85025057a4d88104a339419;hb=0b0fc4c9c805e95d883196b947217e23efb443c5;hpb=6f5675145d62aa881aaccf26f32ac1aec1c0c7ea diff --git a/gnushogi/rawdsp.c b/gnushogi/rawdsp.c index 588f13f..1a1035b 100644 --- a/gnushogi/rawdsp.c +++ b/gnushogi/rawdsp.c @@ -177,7 +177,7 @@ static void Raw_ShowPatternCount(short side, short n) { if (flag.post) - printf("%s matches %d pattern(s)\n", ColorStr[side], n); + printf("%s%s matches %d pattern(s)\n", xboard ? "# " : "" , ColorStr[side], n); } @@ -578,10 +578,10 @@ Raw_OutputMove(void) printf("%s mates!\n", ColorStr[computer]); #ifdef VERYBUGGY else if (!XSHOGI && (root->score < -SCORE_LIMIT)) - printf("%s has a forced mate in %d moves!\n", + printf("%s%s has a forced mate in %d moves!\n", xboard ? "# " : "", ColorStr[opponent], SCORE_LIMIT + 999 + root->score - 1); else if (!XSHOGI && (root->score > SCORE_LIMIT)) - printf("%s has a forced mate in %d moves!\n", + printf("%s%s has a forced mate in %d moves!\n", xboard ? "# " : "", ColorStr[computer], SCORE_LIMIT + 998 - root->score - 1); #endif /* VERYBUGGY */ }