correct separator for android

This commit is contained in:
orignal 2016-10-31 18:10:33 -04:00
parent b526718846
commit 3d4e2a275c

2
FS.cpp
View file

@ -70,7 +70,7 @@ namespace fs {
if (!ext) ext = "/sdcard"; if (!ext) ext = "/sdcard";
if (boost::filesystem::exists(ext)) if (boost::filesystem::exists(ext))
{ {
dataDir = ext + appName; dataDir = std::string (ext) + "/" + appName;
return; return;
} }
// otherwise use /data/files // otherwise use /data/files