From: H.G. Muller Date: Wed, 27 Oct 2010 17:25:56 +0000 (+0200) Subject: The -overrideLineGap option is made to work in XBoard X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=059c63872e231d159577135b4029a4da237e92a6;p=xboard.git The -overrideLineGap option is made to work in XBoard Although XBoard already allowed this in the -boardSize specification, it is still seful to globally disable grid lines, e.g. for an oriental Xiangqi board. And it converges XB and WB. --- diff --git a/xboard.c b/xboard.c index f975e95..0d11eae 100644 --- a/xboard.c +++ b/xboard.c @@ -1969,6 +1969,7 @@ XBoard square size (hint): %d\n\ fprintf(stderr, _("Closest %s size: %d\n"), IMAGE_EXT, squareSize); } } + if(appData.overrideLineGap >= 0) lineGap = appData.overrideLineGap; /* [HR] height treated separately (hacked) */ boardWidth = lineGap + BOARD_WIDTH * (squareSize + lineGap);