From 8735ad4bc9c3438d1df66f02809554109e950db3 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Wed, 14 Oct 2009 14:26:09 -0700 Subject: [PATCH] fixed wrong number of arguments for EngineOutputPopUp --- xengineoutput.c | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) 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); } -- 1.7.0.4