diff --git a/Quake/common.c b/Quake/common.c index 54c54cd2..d8db3241 100644 --- a/Quake/common.c +++ b/Quake/common.c @@ -2302,7 +2302,7 @@ void COM_ListFiles(void *ctx, const char *gamedir, const char *pattern, qboolean DIR *dir_p; struct dirent *dir_t; - q_snprintf (filestring, sizeof(filestring), "%s/%s%s", gamedir, prefixdir, pattern); + q_snprintf (filestring, sizeof(filestring), "%s/%s", gamedir, prefixdir); dir_p = opendir(filestring); if (dir_p == NULL) return;