diff options
Diffstat (limited to 'src/gui/ThreadedLoader.cpp')
-rw-r--r-- | src/gui/ThreadedLoader.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/ThreadedLoader.cpp b/src/gui/ThreadedLoader.cpp index 3cba5f97..e4dbb303 100644 --- a/src/gui/ThreadedLoader.cpp +++ b/src/gui/ThreadedLoader.cpp @@ -19,7 +19,6 @@ #include "raul/log.hpp" #include "shared/World.hpp" #include "shared/Module.hpp" -#include "serialisation/names.hpp" #include "App.hpp" #include "ThreadedLoader.hpp" #include "ingen/client/PatchModel.hpp" @@ -120,7 +119,7 @@ ThreadedLoader::save_patch_event(SharedPtr<const PatchModel> model, const string& filename) { if (App::instance().serialiser()) { - if (filename.find(INGEN_BUNDLE_EXT) != string::npos) + if (filename.find(".ingen") != string::npos) App::instance().serialiser()->write_bundle(model, filename); else App::instance().serialiser()->to_file(model, filename); |