diff options
author | mrg <mrg@NetBSD.org> | 2021-04-12 09:12:28 +0000 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-04-13 15:28:34 -0400 |
commit | d3beb8c76c34e5eaebe5708a96a39fd5eb120f92 (patch) | |
tree | 79fbba0fffae6270b9b25dc0fc2a163ab8d1b660 | |
parent | 0a1543ea454e4300aeb1b71cc8e7dd99c04d5dbc (diff) | |
download | bsdgames-darwin-d3beb8c76c34e5eaebe5708a96a39fd5eb120f92.tar.gz bsdgames-darwin-d3beb8c76c34e5eaebe5708a96a39fd5eb120f92.tar.zst bsdgames-darwin-d3beb8c76c34e5eaebe5708a96a39fd5eb120f92.zip |
avoid leaving off the trailing nul in a literal string.
-rw-r--r-- | adventure/save.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/adventure/save.c b/adventure/save.c index c4054b46..5623d1b0 100644 --- a/adventure/save.c +++ b/adventure/save.c @@ -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 */ @@ -79,7 +79,7 @@ static const char header[] = "Adventure save file\n"; * 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" ; |