forked from 0ad/0ad
"*.<ext>" filter as per new vfs_next_dirent
This was SVN commit r1392.
This commit is contained in:
parent
7a84eca26b
commit
7bf6d11d8c
@ -49,7 +49,7 @@ bool I18n::LoadLanguage(const char* name)
|
||||
|
||||
// Open *.lng with LoadStrings
|
||||
|
||||
if (! VFSUtil::FindFiles(dirname, ".lng", files))
|
||||
if (! VFSUtil::FindFiles(dirname, "*.lng", files))
|
||||
return false;
|
||||
|
||||
for (filename = files.begin(); filename != files.end(); ++filename)
|
||||
@ -65,7 +65,7 @@ bool I18n::LoadLanguage(const char* name)
|
||||
|
||||
// Open *.wrd with LoadDictionary
|
||||
|
||||
if (! VFSUtil::FindFiles(dirname, ".wrd", files))
|
||||
if (! VFSUtil::FindFiles(dirname, "*.wrd", files))
|
||||
return false;
|
||||
|
||||
for (filename = files.begin(); filename != files.end(); ++filename)
|
||||
@ -81,7 +81,7 @@ bool I18n::LoadLanguage(const char* name)
|
||||
|
||||
// Open *.js with LoadFunctions
|
||||
|
||||
if (! VFSUtil::FindFiles(dirname, ".js", files))
|
||||
if (! VFSUtil::FindFiles(dirname, "*.js", files))
|
||||
return false;
|
||||
|
||||
for (filename = files.begin(); filename != files.end(); ++filename)
|
||||
|
Loading…
Reference in New Issue
Block a user