From: H.G. Muller Date: Sun, 15 Apr 2012 09:12:02 +0000 (+0200) Subject: Remove debug printf X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=df04542efd5b686f8c9f382315eb3fb619866da7;p=xboard.git Remove debug printf --- 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;