diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/serialisation/Serialiser.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp index 8d9b490a..84e05022 100644 --- a/src/serialisation/Serialiser.cpp +++ b/src/serialisation/Serialiser.cpp @@ -200,7 +200,8 @@ void Serialiser::Impl::write_bundle(SharedPtr<const Patch> patch, const std::string& a_path) { - std::string path(a_path); + + std::string path = Glib::filename_from_uri(a_path); if (Glib::file_test(path, Glib::FILE_TEST_EXISTS) && !Glib::file_test(path, Glib::FILE_TEST_IS_DIR)) { path = Glib::path_get_dirname(path); |