- fixed vc++ project files for mods download menu

This commit is contained in:
Mark Vejvoda
2011-03-25 11:15:21 +00:00
parent 51eca5610e
commit 9096449919
3 changed files with 16 additions and 0 deletions

View File

@@ -896,7 +896,13 @@ vector<string> getFolderTreeContentsListRecursively(const string &path, const st
int globFlags = 0;
if(EndsWith(mypath,"{,.}*") == true) {
#ifndef WIN32
globFlags = GLOB_BRACE;
#else
// Windows glob source cannot handle GLOB_BRACE
// but that should be ok for win32 platform
replaceAll(mypath,"{,.}*","*");
#endif
}
int res = glob(mypath.c_str(), globFlags, 0, &globbuf);