projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
d138c95
)
Fix bug in XBoard PV display
author
H.G. Muller
<h.g.muller@hccnet.nl>
Tue, 19 Jan 2010 17:27:14 +0000 (18:27 +0100)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Sat, 30 Jan 2010 08:40:01 +0000 (09:40 +0100)
The PV was unloaded on anything but a button release, in stead of the
other way around.
xboard.c
patch
|
blob
|
history
diff --git
a/xboard.c
b/xboard.c
index
8106b9c
..
d4f6569
100644
(file)
--- a/
xboard.c
+++ b/
xboard.c
@@
-3681,7
+3681,7
@@
void PieceMenuPopup(w, event, params, num_params)
{
String whichMenu;
- if (event->type != ButtonRelease) UnLoadPV(); // [HGM] pv
+ if (event->type == ButtonRelease) UnLoadPV(); // [HGM] pv
if (event->type != ButtonPress) return;
if (errorUp) ErrorPopDown();
switch (gameMode) {