From: H.G. Muller Date: Wed, 14 Oct 2009 21:26:09 +0000 (-0700) Subject: fixed wrong number of arguments for EngineOutputPopUp X-Git-Tag: v4.4.1.20091019~17 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=8735ad4bc9c3438d1df66f02809554109e950db3;p=xboard.git fixed wrong number of arguments for EngineOutputPopUp --- 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); }