"*.<ext>" filter as per new vfs_next_dirent

This was SVN commit r1392.
This commit is contained in:
janwas 2004-11-23 23:52:52 +00:00
parent 7a84eca26b
commit 7bf6d11d8c

View File

@ -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)