From f85ecc17d25562efce04ac2711939c610af0f733 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 11 Oct 2007 15:54:27 +0000 Subject: Attempt at fixing indefined symbols on inferior computers. git-svn-id: http://svn.drobilla.net/lad/ingen@874 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/gui/ThreadedLoader.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libs/gui') diff --git a/src/libs/gui/ThreadedLoader.cpp b/src/libs/gui/ThreadedLoader.cpp index 3a919bf2..a037a711 100644 --- a/src/libs/gui/ThreadedLoader.cpp +++ b/src/libs/gui/ThreadedLoader.cpp @@ -128,7 +128,8 @@ ThreadedLoader::save_patch(SharedPtr model, const string& filename) void ThreadedLoader::save_patch_event(SharedPtr model, const string& filename) { - App::instance().serialiser()->to_file(model, filename); + if (App::instance().serialiser()) + App::instance().serialiser()->to_file(model, filename); } -- cgit v1.2.1