Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/adventure avoid leaving off the trailing nul in a lite...



details:   https://anonhg.NetBSD.org/src/rev/da7621d02442
branches:  trunk
changeset: 961572:da7621d02442
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Apr 12 09:12:28 2021 +0000

description:
avoid leaving off the trailing nul in a literal string.

diffstat:

 games/adventure/save.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5d2ca0112db4 -r da7621d02442 games/adventure/save.c
--- a/games/adventure/save.c    Mon Apr 12 09:03:39 2021 +0000
+++ b/games/adventure/save.c    Mon Apr 12 09:12:28 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: save.c,v 1.14 2014/03/22 22:04:40 dholland Exp $       */
+/*     $NetBSD: save.c,v 1.15 2021/04/12 09:12:28 mrg Exp $    */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)save.c     8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: save.c,v 1.14 2014/03/22 22:04:40 dholland Exp $");
+__RCSID("$NetBSD: save.c,v 1.15 2021/04/12 09:12:28 mrg Exp $");
 #endif
 #endif                         /* not lint */
 
@@ -77,7 +77,7 @@
  * Map 16 plain values into 90 coded values and back.
  */
 
-static const char coding[90] =
+static const char coding[91] =
        "Db.GOyT]7a6zpF(c*5H9oK~0[WVAg&kR)ml,2^q-1Y3v+"
        "X/=JirZL$C>_N?:}B{dfnsxU<@MQ%8|P!4h`ESt;euwIj"
 ;



Home | Main Index | Thread Index | Old Index