Skip to content

Commit 34754b8

Browse files
committed
Fixed #23 - Use international symbols for game end result text.
When the game ends for a reason other than resignation, use the standard symbols "1-0", "0-1", "1/2-1/2" instead of English phrases.
1 parent f4e4040 commit 34754b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/wingui.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2320,7 +2320,7 @@ static void DisplayGameReportText(
23202320
else
23212321
{
23222322
message = CHESS_PROGRAM_NAME " - White wins";
2323-
brief = "White wins";
2323+
brief = "1-0";
23242324
}
23252325
break;
23262326

@@ -2348,13 +2348,13 @@ static void DisplayGameReportText(
23482348
else
23492349
{
23502350
message = CHESS_PROGRAM_NAME " - Black wins";
2351-
brief = "Black wins";
2351+
brief = "0-1";
23522352
}
23532353
break;
23542354

23552355
case SIDE_NEITHER:
23562356
message = CHESS_PROGRAM_NAME " - This game is a draw";
2357-
brief = "Drawn game";
2357+
brief = "\xbd-\xbd"; // 1/2 - 1/2
23582358
break;
23592359

23602360
default:

0 commit comments

Comments
 (0)