Pop up warning when engine manual is not available
[xboard.git] / dialogs.c
index 189a869..fa481d3 100644 (file)
--- a/dialogs.c
+++ b/dialogs.c
@@ -557,6 +557,7 @@ Pick (int n)
        appData.pieceToCharTable = NULL;
        appData.pieceNickNames = "";
        appData.colorNickNames = "";
+       appData.men = "";
         PopDown(TransientDlg);
        Reset(True, True);
         return;
@@ -2554,7 +2555,7 @@ DisplayHelp (char *name)
        } else textPtr = NULL;   // use plaintext man file directly
        GetHelpText(f, name);
        fclose(f);
-    }
+    } else if(currentCps) DisplayNote("No manual is installed for this engine");
 }
 
 #define PAUSE_BUTTON "P"