From: H.G. Muller Date: Tue, 19 Jan 2010 17:27:14 +0000 (+0100) Subject: Fix bug in XBoard PV display X-Git-Tag: master-20100206~38 X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=commitdiff_plain;h=ab9f54e8741e7b0fa5a8c10f9476c723fefcb6f0 Fix bug in XBoard PV display The PV was unloaded on anything but a button release, in stead of the other way around. --- 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) {