summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-11 20:09:08 +0000
committerDavid Robillard <d@drobilla.net>2008-10-11 20:09:08 +0000
commita54c04853f8c642c490e615e7f2292a42d4507e6 (patch)
treecd097b76cac5a814c8c57fc5c024cea2352f8a4d
parent97bd5cf9c26a6a0984ce32cfc02e0fc9f3084864 (diff)
downloadingen-a54c04853f8c642c490e615e7f2292a42d4507e6.tar.gz
ingen-a54c04853f8c642c490e615e7f2292a42d4507e6.tar.bz2
ingen-a54c04853f8c642c490e615e7f2292a42d4507e6.zip
Fix crash when importing .om patches.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1646 a436a847-0d15-0410-975c-d299462d15a1
-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 008b14c4..530c3840 100644
--- a/src/gui/ThreadedLoader.cpp
+++ b/src/gui/ThreadedLoader.cpp
@@ -96,7 +96,7 @@ ThreadedLoader::load_patch(bool merge,
sigc::mem_fun(_deprecated_loader, &DeprecatedLoader::load_patch),
data_base_uri,
engine_parent,
- (engine_symbol) ? engine_symbol.get() : "",
+ engine_symbol ? (string)engine_symbol.get() : string(""),
engine_data,
false)));
} else {