summaryrefslogtreecommitdiffstats
path: root/src/libs/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-10-11 15:54:27 +0000
committerDavid Robillard <d@drobilla.net>2007-10-11 15:54:27 +0000
commitf85ecc17d25562efce04ac2711939c610af0f733 (patch)
treea9335f4d06bd04428b1a31bf4956017ea1705c74 /src/libs/gui
parent3319e2dfa3ab5b1732777323da92d08b9ee42b8e (diff)
downloadingen-f85ecc17d25562efce04ac2711939c610af0f733.tar.gz
ingen-f85ecc17d25562efce04ac2711939c610af0f733.tar.bz2
ingen-f85ecc17d25562efce04ac2711939c610af0f733.zip
Attempt at fixing indefined symbols on inferior computers.
git-svn-id: http://svn.drobilla.net/lad/ingen@874 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui')
-rw-r--r--src/libs/gui/ThreadedLoader.cpp3
1 files changed, 2 insertions, 1 deletions
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<PatchModel> model, const string& filename)
void
ThreadedLoader::save_patch_event(SharedPtr<PatchModel> model, const string& filename)
{
- App::instance().serialiser()->to_file(model, filename);
+ if (App::instance().serialiser())
+ App::instance().serialiser()->to_file(model, filename);
}