projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
665a404
)
Fix piece inscriptions
author
H.G. Muller
<h.g.muller@hccnet.nl>
Tue, 1 Apr 2014 10:00:14 +0000 (12:00 +0200)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Tue, 1 Apr 2014 10:00:14 +0000 (12:00 +0200)
draw.c
patch
|
blob
|
history
diff --git
a/draw.c
b/draw.c
index
12b8b65
..
fb66db2
100644
(file)
--- a/
draw.c
+++ b/
draw.c
@@
-768,7
+768,7
@@
DrawOneSquare (int x, int y, ChessSquare piece, int square_color, int marker, ch
BlankSquare(csBoardWindow, x, y, square_color, piece, 1);
} else {
pngDrawPiece(csBoardWindow, piece, square_color, x, y);
- InscribeKanji(piece, x, y);
+ if(appData.inscriptions[0]) InscribeKanji(piece, x, y);
}
if(align) { // square carries inscription (coord or piece count)