summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2011-02-14 20:40:23 +0000
committerSimon Howard2011-02-14 20:40:23 +0000
commit645e33ef2522d402cc11f7f5252abc27819c4d66 (patch)
treea9b0c25f5591658a4b87afd8b9122917685aaf26
parenta9996b41e954d85fde5ec5188bbf6a7f4df88011 (diff)
downloadchocolate-doom-645e33ef2522d402cc11f7f5252abc27819c4d66.tar.gz
chocolate-doom-645e33ef2522d402cc11f7f5252abc27819c4d66.tar.bz2
chocolate-doom-645e33ef2522d402cc11f7f5252abc27819c4d66.zip
Increase buffer size to 32 to fix overflow (thanks Quasar).
Subversion-branch: /branches/raven-branch Subversion-revision: 2267
-rw-r--r--src/m_controls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/m_controls.c b/src/m_controls.c
index 60a96ac2..685a0f13 100644
--- a/src/m_controls.c
+++ b/src/m_controls.c
@@ -303,7 +303,7 @@ void M_BindMenuControls(void)
void M_BindChatControls(unsigned int num_players)
{
- char name[20];
+ char name[32];
int i;
M_BindVariable("key_multi_msg", &key_multi_msg);