summaryrefslogtreecommitdiff
path: root/src/m_misc.c
diff options
context:
space:
mode:
authorSimon Howard2006-01-20 21:04:59 +0000
committerSimon Howard2006-01-20 21:04:59 +0000
commit724ffa3ad42449850a8fb926de2cb16e1e924165 (patch)
treec2767239cdd4e078b5e87e81a12e51e8b705b59c /src/m_misc.c
parent717673ef80aff9ae1a271b73d3c7f43f2bb27a1a (diff)
downloadchocolate-doom-724ffa3ad42449850a8fb926de2cb16e1e924165.tar.gz
chocolate-doom-724ffa3ad42449850a8fb926de2cb16e1e924165.tar.bz2
chocolate-doom-724ffa3ad42449850a8fb926de2cb16e1e924165.zip
Import differences from stable branch.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 309
Diffstat (limited to 'src/m_misc.c')
-rw-r--r--src/m_misc.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/m_misc.c b/src/m_misc.c
index f4db1506..4caf5659 100644
--- a/src/m_misc.c
+++ b/src/m_misc.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: m_misc.c 280 2006-01-10 22:14:13Z fraggle $
+// $Id: m_misc.c 309 2006-01-20 21:04:59Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -23,6 +23,9 @@
//
//
// $Log$
+// Revision 1.18 2006/01/20 21:04:59 fraggle
+// Import differences from stable branch.
+//
// Revision 1.17 2006/01/10 22:14:13 fraggle
// Shut up compiler warnings
//
@@ -98,7 +101,7 @@
//-----------------------------------------------------------------------------
static const char
-rcsid[] = "$Id: m_misc.c 280 2006-01-10 22:14:13Z fraggle $";
+rcsid[] = "$Id: m_misc.c 309 2006-01-20 21:04:59Z fraggle $";
#include <stdio.h>
#include <stdlib.h>
@@ -631,7 +634,7 @@ void M_LoadDefaults (void)
}
else
{
- doom_defaults.filename = malloc(strlen(configdir) + 10);
+ doom_defaults.filename = malloc(strlen(configdir) + 20);
sprintf(doom_defaults.filename, "%sdefault.cfg", configdir);
}