From ed46e7344f667397536ed0d682daf1df972da735 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sun, 21 Oct 2012 14:49:45 +0200 Subject: [PATCH] Fix variant-dependent pieces The code to select the actually used piece images from the available ones (from InitDrawingSizes) is now made into a subroutine, and also called after resizing the pieces. --- draw.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/draw.c b/draw.c index 9e966d9..99203b9 100644 --- a/draw.c +++ b/draw.c @@ -166,7 +166,6 @@ void InitDrawingSizes (BoardSize boardSize, int flags) { // [HGM] resize is functional now, but for board format changes only (nr of ranks, files) int boardWidth, boardHeight; - int i; static int oldWidth, oldHeight; static VariantClass oldVariant; static int oldMono = -1, oldTwoBoards = 0; -- 1.7.0.4