(gamedown, show_motd): Fix message buffer size. Messages of maximum

length were considered overlong and ignored.
This commit is contained in:
Markus Armbruster 2005-06-12 09:25:22 +00:00
parent 8585ec930f
commit e536b02c1c
2 changed files with 4 additions and 6 deletions

View file

@ -154,7 +154,7 @@ gamedown(void)
{
FILE *down_fp;
struct telstr tgm;
s_char buf[MAXTELSIZE]; /* buf is message text */
char buf[MAXTELSIZE + 1]; /* message text */
if (player->god)
return 0;