X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=dialogs.c;h=45acd30a633dd6a7dd62796788d9295879923c84;hb=78b46cdffd8cd0896c6d3a8815d6b651217be910;hp=189a869f82200511aed478cde4c9943a2cee48bf;hpb=894916fe72347000731f92313b9c2230fd837247;p=xboard.git diff --git a/dialogs.c b/dialogs.c index 189a869..45acd30 100644 --- 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; @@ -2119,6 +2120,10 @@ void ConsoleWrite(char *message, int count) { if(shellUp[ChatDlg] && chatOptions[CHAT_ICS].type != Skip) { // in Xaw this is a no-op + if(*message == 7) { + message++; // remove bell + if(strcmp(message, "\n")) return; + } AppendColorized(&chatOptions[CHAT_ICS], message, count); SetInsertPos(&chatOptions[CHAT_ICS], 999999); } @@ -2554,7 +2559,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"