Add -men option for changing piece moves
[xboard.git] / dialogs.c
index 4c2da69..d8f1684 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;
@@ -2543,6 +2544,8 @@ DisplayHelp (char *name)
     } else snprintf(buf, MSG_SIZ, "%s", xboardMan);   // use xboard man
     f = fopen(buf, "r");
     if(f) {
+       char *msg = "Right-clicking menu item or dialog text pops up help on it";
+       ASSIGN(appData.suppress, msg);
        if(strstr(buf, ".gz")) { // man file is gzipped
            if(!manText[n]) {    // unzipped text not buffered yet
                snprintf(tidy, MSG_SIZ, "gunzip -c %s", buf);