X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xboard.c;h=4c96479e8c357dc31b17009e2ba620ef0c5ed7d1;hb=3b5c8a9ed7061c6aff8f897a74be47b853360163;hp=fa5a4c42b3540fce2d2c609b81700f7d3154d34c;hpb=164666db4ca950b4f08dd424166ef6be3e3494c2;p=xboard.git diff --git a/xboard.c b/xboard.c index fa5a4c4..4c96479 100644 --- a/xboard.c +++ b/xboard.c @@ -3178,41 +3178,6 @@ ManInner (Widget w, XEvent *event, String *prms, Cardinal *nprms) } void -DisplayMessage (char *message, char *extMessage) -{ - /* display a message in the message widget */ - - char buf[MSG_SIZ]; - Arg arg; - - if (extMessage) - { - if (*message) - { - snprintf(buf, sizeof(buf), "%s %s", message, extMessage); - message = buf; - } - else - { - message = extMessage; - }; - }; - - safeStrCpy(lastMsg, message, MSG_SIZ); // [HGM] make available - - /* need to test if messageWidget already exists, since this function - can also be called during the startup, if for example a Xresource - is not set up correctly */ - if(optList && optList[14].handle) - { - XtSetArg(arg, XtNlabel, message); - XtSetValues(optList[14].handle, &arg, 1); - }; - - return; -} - -void SetWindowTitle (char *text, char *title, char *icon) { Arg args[16];