From: H.G. Muller Date: Fri, 10 Feb 2012 21:26:39 +0000 (+0100) Subject: Fix sleeping bug X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=5b1f4e2d668d8cc065ce0f95f9bbcf09d9497036;p=xboard.git Fix sleeping bug The text-edit-height patch introduced a bug that did not have any consquences (yet), as the extra arg erroneously included leftover from a previous SetValues call happened to be the same as one of the intended args. --- diff --git a/xboard.c b/xboard.c index dbea540..270295d 100644 --- a/xboard.c +++ b/xboard.c @@ -2314,7 +2314,7 @@ XBoard square size (hint): %d\n\ messageArgs, XtNumber(messageArgs)); XtSetArg(args[0], XtNtop, XtChainTop); XtSetArg(args[1], XtNbottom, XtChainTop); - XtSetValues(messageWidget, args, 3); + XtSetValues(messageWidget, args, 2); widgetList[j++] = boardWidget = XtCreateWidget("board", widgetClass, formWidget, boardArgs,