From: H.G. Muller Date: Thu, 29 Dec 2011 14:51:18 +0000 (+0100) Subject: Abandon single-letter menus in tinyLayout X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=5e9c0cf341ed15642e78dd61bcc8731399bafedb;p=xboard.git Abandon single-letter menus in tinyLayout Now that the items on the main menu bar are clipped, it iso longer necessary to abbreviate them. --- diff --git a/xboard.c b/xboard.c index 7e2443c..4e63186 100644 --- a/xboard.c +++ b/xboard.c @@ -3974,16 +3974,7 @@ Widget CreateMenuBar(mb, boardWidth) strncat(menuName, mb->ref, MSG_SIZ - strlen(menuName) - 1); j = 0; XtSetArg(args[j], XtNmenuName, XtNewString(menuName)); j++; - if (tinyLayout) { - char shortName[2]; - shortName[0] = mb->name[0]; - shortName[1] = NULLCHAR; - XtSetArg(args[j], XtNlabel, XtNewString(shortName)); j++; - } - else { - XtSetArg(args[j], XtNlabel, XtNewString(_(mb->name))); j++; - } - + XtSetArg(args[j], XtNlabel, XtNewString(_(mb->name))); j++; XtSetArg(args[j], XtNborderWidth, 0); j++; mb->subMenu = XtCreateManagedWidget(mb->name, menuButtonWidgetClass, menuBar, args, j);