helper update

This commit is contained in:
turanszkij
2016-06-11 12:07:06 +02:00
parent 5a34df2857
commit a20fa3397c
+2 -2
View File
@@ -74,10 +74,10 @@ namespace wiHelper
return ss.str();
}
#include <direct.h>
string GetWorkingDirectory()
{
char result[MAX_PATH];
return std::string(result, GetModuleFileNameA(NULL, result, MAX_PATH));
return _getcwd(NULL, 0);
}
void GetFilesInDirectory(vector<string>& out, const string& directory)