mirror of
https://github.com/glest/glest-source.git
synced 2025-08-30 03:09:49 +02:00
- fixed vc++ project files for mods download menu
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user