mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-26 05:56:35 +01:00
Fix of a crash intruduced with e8247c5646
This commit is contained in:
1 parent
076b293fec
commit
a9499ae45c
4 files changed
+29
-15
No files matched your search
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user