Browse Source

correct separator for android

pull/695/head
orignal 8 years ago
parent
commit
3d4e2a275c
  1. 2
      FS.cpp

2
FS.cpp

@ -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

Loading…
Cancel
Save