From a54c04853f8c642c490e615e7f2292a42d4507e6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 11 Oct 2008 20:09:08 +0000 Subject: Fix crash when importing .om patches. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1646 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/ThreadedLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 { -- cgit v1.2.1