X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gtk%2Fxoptions.c;h=c089c9e50d55df8c2747e55a0d993c474da02b33;hb=51af0717099806507c09bab2416cfbc67c30224e;hp=46b10ba7ba08c75d15ef4d9fdaa41d089f915648;hpb=60d1791e93b0e2267615ec378f073d5f8564bd82;p=xboard.git diff --git a/gtk/xoptions.c b/gtk/xoptions.c index 46b10ba..c089c9e 100644 --- a/gtk/xoptions.c +++ b/gtk/xoptions.c @@ -1549,6 +1549,7 @@ if(appData.debugMode) printf("n=%d, h=%d, w=%d\n",n,height,width); case DropDown: top--; msg = _(option[i].name); // write name on the menu button + if(tinyLayout) { strncpy(def, msg, 1); msg = def; } // XtSetArg(args[j], XtNmenuName, XtNewString(option[i].name)); j++; // XtSetArg(args[j], XtNlabel, msg); j++; option[i].handle = (void*)