diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-10 01:50:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-10 02:35:02 +0300 |
commit | 2317fbe9d29f5bea76a2ba05b40841b11de1a6f2 (patch) | |
tree | 121a1cdf207e47798050bf648265bb9b3f9ef65f /src/resources/beingcommon.cpp | |
parent | 0b4614a2d3dee49097b8131150df21ef585bf854 (diff) | |
download | manaverse-2317fbe9d29f5bea76a2ba05b40841b11de1a6f2.tar.gz manaverse-2317fbe9d29f5bea76a2ba05b40841b11de1a6f2.tar.bz2 manaverse-2317fbe9d29f5bea76a2ba05b40841b11de1a6f2.tar.xz manaverse-2317fbe9d29f5bea76a2ba05b40841b11de1a6f2.zip |
fix dirs and files enumeration in some systems.
Diffstat (limited to 'src/resources/beingcommon.cpp')
-rw-r--r-- | src/resources/beingcommon.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/beingcommon.cpp b/src/resources/beingcommon.cpp index 5647d01e3..3e3a81cbf 100644 --- a/src/resources/beingcommon.cpp +++ b/src/resources/beingcommon.cpp @@ -20,6 +20,8 @@ #include "resources/beingcommon.h" +#include "logger.h" + #include "utils/files.h" #include "utils/physfstools.h" #include "utils/stringutils.h" @@ -51,7 +53,7 @@ void BeingCommon::readBasicAttributes(BeingInfo *const info, XmlNodePtr node, void BeingCommon::getIncludeFiles(const std::string &dir, StringVect &list) { - const std::string path = dir + PhysFs::getDirSeparator(); + const std::string path = dir + "/"; StringVect tempList; Files::getFilesWithDir(path, tempList); FOR_EACH (StringVectCIter, it, tempList) |