1
0

Added cFile:GetFolderContents().

Fix 162.
This commit is contained in:
madmaxoft
2013-11-22 20:11:24 +01:00
parent 4fbfe59ea0
commit 63753c5e84
11 changed files with 155 additions and 69 deletions

View File

@@ -72,8 +72,8 @@ void cPluginManager::FindPlugins(void)
++itr;
}
AStringList Files = GetDirectoryContents(PluginsPath.c_str());
for (AStringList::const_iterator itr = Files.begin(); itr != Files.end(); ++itr)
AStringVector Files = cFile::GetFolderContents(PluginsPath.c_str());
for (AStringVector::const_iterator itr = Files.begin(); itr != Files.end(); ++itr)
{
if ((*itr == ".") || (*itr == "..") || (!cFile::IsFolder(PluginsPath + *itr)))
{