summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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