summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-05-26 13:51:02 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-05-26 13:51:02 +0000
commit96cf024680c22787de26f9b95cbdba820b73dd9e (patch)
tree8eb7f81abf6076e6767704ab022c82a379e9a701
parent0126e157b87f137fc08dc7f46f6c291b9d06ac5d (diff)
Tweak for egcs -fwrite-strings oddity
-rw-r--r--games/rogue/message.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/rogue/message.c b/games/rogue/message.c
index 56fae2991fc..11ea4719e89 100644
--- a/games/rogue/message.c
+++ b/games/rogue/message.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: message.c,v 1.3 1998/08/22 08:55:33 pjanzen Exp $ */
+/* $OpenBSD: message.c,v 1.4 1999/05/26 13:51:01 espie Exp $ */
/* $NetBSD: message.c,v 1.5 1995/04/22 10:27:43 cgd Exp $ */
/*
@@ -61,7 +61,7 @@ static char rcsid[] = "$OpenBSD";
#include <termios.h>
#include "rogue.h"
-char msgs[NMESSAGES][DCOLS] = {"", "", "", "", ""};
+char msgs[NMESSAGES][DCOLS] = {{0}, {0}, {0}, {0}, {0}};
short msg_col = 0, imsg = -1;
boolean msg_cleared = 1, rmsg = 0;
char hunger_str[8] = "";