From ab9f54e8741e7b0fa5a8c10f9476c723fefcb6f0 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Tue, 19 Jan 2010 18:27:14 +0100 Subject: [PATCH] Fix bug in XBoard PV display The PV was unloaded on anything but a button release, in stead of the other way around. --- xboard.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/xboard.c b/xboard.c index 8106b9c..d4f6569 100644 --- 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) { -- 1.7.0.4