projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5e9c0cf
)
Clear square markers on new game
author
H.G. Muller
<h.g.muller@hccnet.nl>
Thu, 29 Dec 2011 18:55:33 +0000 (19:55 +0100)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Thu, 29 Dec 2011 18:55:33 +0000 (19:55 +0100)
Now that the markers can stay on after a first click, they need to be
explicitly cleared when moving to another board, including a new game.
backend.c
patch
|
blob
|
history
diff --git
a/backend.c
b/backend.c
index
ffb0823
..
f59096c
100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-10660,6
+10660,7
@@
Reset(redraw, init)
ModeHighlight();
if(appData.icsActive) gameInfo.variant = VariantNormal;
currentMove = forwardMostMove = backwardMostMove = 0;
+ MarkTargetSquares(1);
InitPosition(redraw);
for (i = 0; i < MAX_MOVES; i++) {
if (commentList[i] != NULL) {