X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gtk%2Fxboard.c;h=c68d85f2e58b05cfa777f44bd60802ef23eb40d7;hb=1bcd7e1d10ede3c8116f5b2009283875321a8d48;hp=f9163b8758bea201f98a4088cda46b72f321b6f6;hpb=418e072593e78839d701e7dc0634e8ebc08113af;p=xboard.git diff --git a/gtk/xboard.c b/gtk/xboard.c index f9163b8..c68d85f 100644 --- a/gtk/xboard.c +++ b/gtk/xboard.c @@ -1704,15 +1704,17 @@ ReSize (WindowPlacement *wp) if(!strchr(appData.boardSize, ',')) { ASSIGN(appData.boardSize, sizeDefaults[h].name); } +#ifndef OSXAPP if(sizeDefaults[h].tinyLayout != tinyLayout) { // alter clipping of menu names to conform to board width int clip = (tinyLayout = sizeDefaults[h].tinyLayout) + 1; char text[MSG_SIZ]; for(h=1; mainOptions[h].type == DropDown; h++) { strncpy(text, _(mainOptions[h].name), MSG_SIZ); - text[clip + (text[clip-1] == '_')] = NULLCHAR; + if(clip != 1) text[clip + (text[clip-1] == '_')] = NULLCHAR; gtk_menu_item_set_label((GtkMenuItem *) mainOptions[h].handle, text); } } +#endif if(sqx != squareSize && !first) { squareSize = sqx; // adopt new square size CreatePNGPieces(); // make newly scaled pieces