summaryrefslogtreecommitdiffstats
path: root/src/gui/ThreadedLoader.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-03-05 04:46:06 +0000
committerDavid Robillard <d@drobilla.net>2010-03-05 04:46:06 +0000
commit6a92ee5fbc7d47998fc399efe424e451cf75657c (patch)
tree108e144fbb142f6592f20e3c08ff7f22eeef7016 /src/gui/ThreadedLoader.cpp
parent78eb8c2b49a7858ace15adcfbb59505cb6a2cb71 (diff)
downloadingen-6a92ee5fbc7d47998fc399efe424e451cf75657c.tar.gz
ingen-6a92ee5fbc7d47998fc399efe424e451cf75657c.tar.bz2
ingen-6a92ee5fbc7d47998fc399efe424e451cf75657c.zip
Shrink extensions (to .ing.lv2 and .ing.ttl) and move definitions to central place so they aren't littered everywhere.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2525 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/ThreadedLoader.cpp')
-rw-r--r--src/gui/ThreadedLoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/ThreadedLoader.cpp b/src/gui/ThreadedLoader.cpp
index 6da5bcd0..9b991555 100644
--- a/src/gui/ThreadedLoader.cpp
+++ b/src/gui/ThreadedLoader.cpp
@@ -137,7 +137,7 @@ ThreadedLoader::save_patch_event(SharedPtr<PatchModel> model, const string& file
{
if (App::instance().serialiser()) {
Serialiser::Record r(model, filename);
- if (filename.find(".ingen") != string::npos)
+ if (filename.find(".ing.lv2") != string::npos)
App::instance().serialiser()->write_bundle(r);
else
App::instance().serialiser()->to_file(r);