diff options
author | Simon Howard | 2007-02-15 21:51:53 +0000 |
---|---|---|
committer | Simon Howard | 2007-02-15 21:51:53 +0000 |
commit | e6d0591bd0674b0c56da7ca92a3721fa48aa1464 (patch) | |
tree | a667ed2f8af8371e19881e5113696fde5280332c | |
parent | fb4a67b74c4f5d5f305f2641c97881a9b8bf7da2 (diff) | |
download | chocolate-doom-e6d0591bd0674b0c56da7ca92a3721fa48aa1464.tar.gz chocolate-doom-e6d0591bd0674b0c56da7ca92a3721fa48aa1464.tar.bz2 chocolate-doom-e6d0591bd0674b0c56da7ca92a3721fa48aa1464.zip |
Really fix the menu corruption bug.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 837
-rw-r--r-- | src/m_menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/m_menu.c b/src/m_menu.c index 456d38ec..2abcc52c 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -1822,7 +1822,7 @@ void M_Drawer (void) for (i = 0; i < strlen(messageString + start); i++) if (messageString[start + i] == '\n') { - memset(string, 0, 40); + memset(string, 0, sizeof(string)); strncpy(string, messageString + start, i); foundnewline = 1; start += i + 1; |