From: Byrial Jensen Date: Mon, 27 Feb 2012 15:56:26 +0000 (+0100) Subject: Increase buffer size in AboutProc() to accommodate for larger text. X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=e5ae56e37eba4695b97295380add47db1789e419;p=xboard.git Increase buffer size in AboutProc() to accommodate for larger text. The Danish version of the about text was truncated due to a too small buffer size. --- diff --git a/xboard.c b/xboard.c index 84e0aec..8a828ae 100644 --- a/xboard.c +++ b/xboard.c @@ -6663,7 +6663,7 @@ BookProc (Widget w, XEvent *event, String *prms, Cardinal *nprms) void AboutProc (Widget w, XEvent *event, String *prms, Cardinal *nprms) { - char buf[MSG_SIZ]; + char buf[2 * MSG_SIZ]; #if ZIPPY char *zippy = _(" (with Zippy code)"); #else