mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
Fix for search_begin on linux.
This commit is contained in:
parent
6e809c4999
commit
bdfdface5b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue