projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Solve odd lineGap problem
[xboard.git]
/
board.c
diff --git
a/board.c
b/board.c
index
b8be924
..
96cbd7b
100644
(file)
--- a/
board.c
+++ b/
board.c
@@
-140,7
+140,7
@@
drawHighlight (int file, int rank, int type)
(squareSize + lineGap);
}
- DrawBorder(x,y, type);
+ DrawBorder(x,y, type, lineGap & 1); // pass whether lineGap is odd
}
int hi1X = -1, hi1Y = -1, hi2X = -1, hi2Y = -1;