summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2010-05-03 16:47:25 +0000
committerSimon Howard2010-05-03 16:47:25 +0000
commitaa35a71bd05536f82ce23887f7e84decc7f850a7 (patch)
treeba2d6507b9dc09ef2e9f2df9bedd0f45e6696ee4
parentb3d5b80105dbc04b1e4c5999118a23b13aad1c5a (diff)
downloadchocolate-doom-aa35a71bd05536f82ce23887f7e84decc7f850a7.tar.gz
chocolate-doom-aa35a71bd05536f82ce23887f7e84decc7f850a7.tar.bz2
chocolate-doom-aa35a71bd05536f82ce23887f7e84decc7f850a7.zip
Oops.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1930
-rw-r--r--src/wi_stuff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wi_stuff.c b/src/wi_stuff.c
index e8fcab42..7c0ba312 100644
--- a/src/wi_stuff.c
+++ b/src/wi_stuff.c
@@ -1749,12 +1749,12 @@ void WI_loadData(void)
if (gamemode == commercial)
{
- strncpy(bg_lumpname, 9, DEH_String("INTERPIC"));
+ strncpy(bg_lumpname, DEH_String("INTERPIC"), 9);
bg_lumpname[8] = '\0';
}
else if (gamemode == retail && wbs->epsd == 3)
{
- strncpy(bg_lumpname, 9, DEH_String("INTERPIC"));
+ strncpy(bg_lumpname, DEH_String("INTERPIC"), 9);
bg_lumpname[8] = '\0';
}
else