X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=draw.c;h=b88d53dbf64c7d8c4237c4cb785e88b63682fdcd;hb=d4ebe9b5f28a3669819eecf0888ac5095aba0669;hp=81f5392b264c8f4b9d27c5fd8cee0f2a68f10e0e;hpb=31f98bb9be6f40551d4dd66252c4b4579ecdbe83;p=xboard.git diff --git a/draw.c b/draw.c index 81f5392..b88d53d 100644 --- a/draw.c +++ b/draw.c @@ -298,7 +298,7 @@ char *pngPieceNames[] = // must be in same order as internal piece encoding }; char *backupPiece[] = { "Princess", NULL, NULL, NULL, NULL, NULL, NULL, - NULL, NULL, NULL, NULL, NULL, + NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, "King", "Queen", "Lion" }; // pieces that map on other when not kanji RsvgHandle * @@ -373,7 +373,7 @@ ScaleOnePiece (int color, int piece) if(!(svgPieces[color][piece] = LoadSVG(svgDir, color, piece, 0)) // try to fall back on installed svg && !warned && strcmp(pngPieceNames[piece], "Tile")) { // but do not complain about missing 'Tile' char *msg = _("No default pieces installed!\nSelect your own using '-pieceImageDirectory'."); - printf("%s\n", msg); // give up + printf("%s (%s)\n", msg, pngPieceNames[piece]); // give up DisplayError(msg, 0); warned = 1; // prevent error message being repeated for each piece type }