shithub: choc

Download patch

ref: e76b5678bfcac6fc7a42b2f581192ae08831728e
parent: e63a8d5e3b2ebc848e01c139756cd2096efe7c80
author: Simon Howard <fraggle@gmail.com>
date: Sat Mar 29 17:09:06 EDT 2014

Fix erroneous call to M_StringJoin

--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -439,7 +439,7 @@
     else
     {
         char sep[] = {DIR_SEPARATOR, '\0'};
-        filename = M_StringJoin(dir, sep, iwadname);
+        filename = M_StringJoin(dir, sep, iwadname, NULL);
     }
 
     if (M_FileExists(filename))