]> skyeroc.xyz Git - dgamelaunch/commitdiff
fix truncation of any banner stuff after appending $VERSION
authorJoshua Kwan <joshk@triplehelix.org>
Tue, 6 Jan 2004 01:57:49 +0000 (01:57 +0000)
committerJoshua Kwan <joshk@triplehelix.org>
Tue, 6 Jan 2004 01:57:49 +0000 (01:57 +0000)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@99 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

dgamelaunch.c

index 62f7b63bb8d37cfd00ef1278e32370e68dbfe147..8e76fd1985e4e796cc69bb7d754ba0d94b40076f 100644 (file)
@@ -295,7 +295,7 @@ loadbanner (struct dg_banner *ban)
                 {
                   strlcat (bufnew, VERSION, 80 - i);
                   b += 8;       /* skip the whole $VERSION string */
-                  i += ARRAY_SIZE (VERSION);
+                  i += ARRAY_SIZE (VERSION) - 2;
                 }
 
               if (strlen (b) == 0)