X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=draw.c;fp=draw.c;h=1604a23a4bd2fe8ceadca00538fa428587019563;hb=c1d1ad880f230c340839df52e61c822896a739e4;hp=bbe4a79a5b293a77818736ddc7479610e6643e15;hpb=9ee5d416b6c278dcb4231e0c5e483bb185de6545;p=xboard.git diff --git a/draw.c b/draw.c index bbe4a79..1604a23 100644 --- a/draw.c +++ b/draw.c @@ -793,6 +793,7 @@ pngDrawPiece (cairo_surface_t *dest, ChessSquare piece, int square_color, int x, kind = 1; piece -= BlackPawn; } + if(piece == WhiteKing && kind == appData.jewelled) piece = WhiteZebra; if(appData.upsideDown && flipView) kind = 1 - kind; // swap white and black pieces BlankSquare(dest, x, y, square_color, piece, 1); // erase previous contents with background cr = cairo_create (dest);