From 059c63872e231d159577135b4029a4da237e92a6 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Wed, 27 Oct 2010 19:25:56 +0200 Subject: [PATCH] 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. --- xboard.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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); -- 1.7.0.4