From df04542efd5b686f8c9f382315eb3fb619866da7 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sun, 15 Apr 2012 11:12:02 +0200 Subject: [PATCH] Remove debug printf --- xboard.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/xboard.c b/xboard.c index cf6beec..a862022 100644 --- a/xboard.c +++ b/xboard.c @@ -941,7 +941,7 @@ InitDrawingSizes (BoardSize boardSize, int flags) if(appData.overrideLineGap >= 0) lineGap = appData.overrideLineGap; boardWidth = lineGap + BOARD_WIDTH * (squareSize + lineGap); boardHeight = lineGap + BOARD_HEIGHT * (squareSize + lineGap); -fprintf(debugFP, "BOARD %d x %d\n",boardWidth, boardHeight); + if(boardWidth != oldWidth || boardHeight != oldHeight) { // do resizing stuff only if size actually changed oldWidth = boardWidth; oldHeight = boardHeight; -- 1.7.0.4