Fix misuse of Path in dc6c7bd0.

pull/403/head
whitequark 2019-04-21 06:54:46 +00:00
parent dc6c7bd0ce
commit b69ef71e63
1 changed files with 1 additions and 1 deletions

View File

@ -541,7 +541,7 @@ static Platform::Path FindLocalResourceDir() {
return resourceDir; return resourceDir;
} }
resourceDir = selfPath.Parent().Parent().Join("share/solvespace"); resourceDir = selfPath.Parent().Parent().Join("share").Join("solvespace");
if(stat(resourceDir.raw.c_str(), &st) != -1) { if(stat(resourceDir.raw.c_str(), &st) != -1) {
// A resource directory exists at a relative path, good. // A resource directory exists at a relative path, good.
return resourceDir; return resourceDir;