Don't save shapes directory to the "last_dir"

This commit is contained in:
YuSanka committed 2021-07-21 16:13:40 +02:00
1 parent c7051c9005
commit 232309a879
4 files changed
+11 -3

No files matched your search

+5
View File
@@ -202,6 +202,11 @@ const std::string& data_dir()
return g_data_dir;
}
std::string custom_shapes_dir()
{
return (boost::filesystem::path(g_data_dir) / "shapes").string();
}
#ifdef _WIN32
// The following helpers are borrowed from the LLVM project https://github.com/llvm
namespace WindowsSupport