Browse Source

fixed bug with missed data directory

pull/409/head
orignal 9 years ago
parent
commit
38b6c12153
  1. 4
      FS.cpp

4
FS.cpp

@ -68,10 +68,10 @@ namespace fs { @@ -68,10 +68,10 @@ namespace fs {
}
bool Init() {
if (boost::filesystem::exists(dataDir))
if (!boost::filesystem::exists(dataDir))
boost::filesystem::create_directory(dataDir);
std::string destinations = DataDirPath("destinations");
if (boost::filesystem::exists(destinations))
if (!boost::filesystem::exists(destinations))
boost::filesystem::create_directory(destinations);
return true;

Loading…
Cancel
Save