We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77c7980 commit b1a8063Copy full SHA for b1a8063
src/musikcore/plugin/PluginFactory.cpp
@@ -101,7 +101,7 @@ void PluginFactory::LoadPlugins() {
101
fs::directory_iterator end;
102
for (fs::directory_iterator file(dir); file != end; file++) {
103
if (fs::is_regular_file(file->status())){
104
- std::string filename(file->path().u8string());
+ std::string filename(fs::path(file->path()).make_preferred().u8string());
105
106
std::shared_ptr<Descriptor> descriptor(new Descriptor());
107
descriptor->filename = filename;
0 commit comments