Increase buffer size in AboutProc() to accommodate for larger text.
authorByrial Jensen <byrial@vip.cybercity.dk>
Mon, 27 Feb 2012 15:56:26 +0000 (16:56 +0100)
committerByrial Jensen <byrial@vip.cybercity.dk>
Mon, 27 Feb 2012 15:56:26 +0000 (16:56 +0100)
The Danish version of the about text was truncated due to a too small
buffer size.

xboard.c

index 84e0aec..8a828ae 100644 (file)
--- 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