From: H.G. Muller Date: Wed, 6 Oct 2010 12:20:03 +0000 (+0200) Subject: Fix menu translation bug X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=857449ff285e17ae5dcce9325d516616d9b629a2;p=xboard.git Fix menu translation bug The menuText array was declared too small, so that the last entry of the File menu got out of bounds and was overwritten by the first of the Mode menu. --- diff --git a/winboard/winboard.c b/winboard/winboard.c index b535d44..84f38fb 100644 --- a/winboard/winboard.c +++ b/winboard/winboard.c @@ -332,7 +332,7 @@ int dialogItems[][40] = { static char languageBuf[50000], *foreign[1000], *english[1000], *languageFile[MSG_SIZ]; static int lastChecked; -static char oldLanguage[MSG_SIZ], *menuText[10][25]; +static char oldLanguage[MSG_SIZ], *menuText[10][30]; extern int tinyLayout; extern char * menuBarText[][8];