ref: aa35a71bd05536f82ce23887f7e84decc7f850a7
parent: b3d5b80105dbc04b1e4c5999118a23b13aad1c5a
author: Simon Howard <fraggle@gmail.com>
date: Mon May 3 12:47:25 EDT 2010
Oops. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1930
--- a/src/wi_stuff.c
+++ b/src/wi_stuff.c
@@ -1749,12 +1749,12 @@
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