From 5b1f4e2d668d8cc065ce0f95f9bbcf09d9497036 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Fri, 10 Feb 2012 22:26:39 +0100 Subject: [PATCH] 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. --- xboard.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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, -- 1.7.0.4