Convert to DOS line endings
[xboard.git] / xboard.c
index c2910a3..d4f6569 100644 (file)
--- a/xboard.c
+++ b/xboard.c
@@ -1284,7 +1284,7 @@ colorVariable[] = {
   &appData.darkSquareColor, 
   &appData.highlightSquareColor,
   &appData.premoveHighlightColor,
-  NULL,
+  &appData.lowTimeWarningColor,
   NULL,
   NULL,
   NULL,
@@ -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) {