Skip to content

Commit

Permalink
Fix folder path (KhronosGroup#1170)
Browse files Browse the repository at this point in the history
  • Loading branch information
jloehr authored Nov 6, 2024
1 parent 8e87ebc commit 6f99ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/filesystem/src/legacy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ void create_path(const std::string &root, const std::string &path)
for (auto it = path.begin(); it != path.end(); ++it)
{
it = std::find(it, path.end(), '/');
create_directory(root + std::string(path.begin(), it));
create_directory(root + '/' + std::string(path.begin(), it));
}
}

Expand Down

0 comments on commit 6f99ebe

Please sign in to comment.