foxygit / doom Log in
commit aa35a71bd05536f82ce23887f7e84decc7f850a7
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Mon May 3 16:47:25 2010 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Mon May 3 16:47:25 2010 +0000

    Oops.

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 1930
---
 src/wi_stuff.c | 4 ++--
 1 file 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