summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2014-03-29 21:09:06 -0400
committerSimon Howard2014-03-29 21:09:06 -0400
commite76b5678bfcac6fc7a42b2f581192ae08831728e (patch)
treedca12ed4455ba7aa33989cb3cef2bf040909d533
parente63a8d5e3b2ebc848e01c139756cd2096efe7c80 (diff)
downloadchocolate-doom-e76b5678bfcac6fc7a42b2f581192ae08831728e.tar.gz
chocolate-doom-e76b5678bfcac6fc7a42b2f581192ae08831728e.tar.bz2
chocolate-doom-e76b5678bfcac6fc7a42b2f581192ae08831728e.zip
Fix erroneous call to M_StringJoin
-rw-r--r--src/d_iwad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d_iwad.c b/src/d_iwad.c
index 293553a2..cb955685 100644
--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -439,7 +439,7 @@ static char *CheckDirectoryHasIWAD(char *dir, char *iwadname)
else
{
char sep[] = {DIR_SEPARATOR, '\0'};
- filename = M_StringJoin(dir, sep, iwadname);
+ filename = M_StringJoin(dir, sep, iwadname, NULL);
}
if (M_FileExists(filename))