From 857449ff285e17ae5dcce9325d516616d9b629a2 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Wed, 6 Oct 2010 14:20:03 +0200 Subject: [PATCH] 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. --- winboard/winboard.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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]; -- 1.7.0.4