X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xengineoutput.c;h=0ce019be2e7ce73c373bca6ed8500db562e1e121;hb=ea087818d8b199299a6d3ebcdd368177fedbcf75;hp=455453d6a2af7c6ef47a3ea6ce66bf28c9c6bd0b;hpb=18c97517acda747ffe9d9177c61c9bf5b1195bb6;p=xboard.git diff --git a/xengineoutput.c b/xengineoutput.c index 455453d..0ce019b 100644 --- a/xengineoutput.c +++ b/xengineoutput.c @@ -132,7 +132,7 @@ Pixmap icons[8]; // [HGM] this front-end array translates back-end icon indicato Widget outputField[2][7]; // [HGM] front-end array to translate output field to window handle void EngineOutputPopDown(); -void engineOutputPopUp(char *title, char *text); +void engineOutputPopUp(); int EngineOutputIsUp(); static void SetEngineColorIcon( int which ); @@ -483,12 +483,13 @@ void ResizeWindowControls(shell, mode) } } -void EngineOutputPopUp(title, text) - char *title, *text; +void +EngineOutputPopUp() { Arg args[16]; int j; Widget edit; + static char *title = _("Engine output"), *text = _("This feature is experimental"); if (engineOutputShell == NULL) { engineOutputShell = @@ -937,7 +938,7 @@ EngineOutputProc(w, event, prms, nprms) if (engineOutputDialogUp) { EngineOutputPopDown(); } else { - EngineOutputPopUp(_("engine output"),_("This feature is experimental")); + EngineOutputPopUp(); } // ToNrEvent(currentMove); }