summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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))