From 15c080e73ca5f2373fb181931e1116ce3ea389e4 Mon Sep 17 00:00:00 2001 From: terminx Date: Mon, 18 Dec 2006 04:18:29 +0000 Subject: [PATCH] Oops, I forgot to leave a space for the terminating character for the string here git-svn-id: https://svn.eduke32.com/eduke32@426 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/premap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/source/premap.c b/polymer/eduke32/source/premap.c index 62ceabd53..b481c2023 100644 --- a/polymer/eduke32/source/premap.c +++ b/polymer/eduke32/source/premap.c @@ -1609,7 +1609,7 @@ int enterlevel(char g) level_file_names[(ud.volume_number*MAXLEVELS)+ud.level_number] = Bcalloc(BMAX_PATH,sizeof(char)); if (level_names[(ud.volume_number*MAXLEVELS)+ud.level_number] == NULL) { - level_names[(ud.volume_number*MAXLEVELS)+ud.level_number] = Bcalloc(8,sizeof(char)); + level_names[(ud.volume_number*MAXLEVELS)+ud.level_number] = Bcalloc(9,sizeof(char)); Bsprintf(level_names[(ud.volume_number*MAXLEVELS)+ud.level_number],"USER MAP"); } }