Fix of a crash intruduced with e8247c5646

This commit is contained in:
bubnikv committed 2018-05-23 13:19:25 +02:00
1 parent 076b293fec
commit a9499ae45c
4 files changed
+29 -15

No files matched your search

+1 -1
View File
@@ -95,7 +95,7 @@ const std::string& var_dir()
std::string var(const std::string &file_name)
{
auto file = boost::filesystem::canonical(boost::filesystem::path(g_var_dir) / file_name).make_preferred();
auto file = (boost::filesystem::path(g_var_dir) / file_name).make_preferred();
return file.string();
}