summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-10 01:50:12 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-10 02:35:02 +0300
commit2317fbe9d29f5bea76a2ba05b40841b11de1a6f2 (patch)
tree121a1cdf207e47798050bf648265bb9b3f9ef65f /src/resources
parent0b4614a2d3dee49097b8131150df21ef585bf854 (diff)
downloadmv-2317fbe9d29f5bea76a2ba05b40841b11de1a6f2.tar.gz
mv-2317fbe9d29f5bea76a2ba05b40841b11de1a6f2.tar.bz2
mv-2317fbe9d29f5bea76a2ba05b40841b11de1a6f2.tar.xz
mv-2317fbe9d29f5bea76a2ba05b40841b11de1a6f2.zip
fix dirs and files enumeration in some systems.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/beingcommon.cpp4
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)