summaryrefslogtreecommitdiffstats
path: root/src/libs/client/DeprecatedLoader.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-05-20 00:30:50 +0000
committerDavid Robillard <d@drobilla.net>2008-05-20 00:30:50 +0000
commit1c746982c4d1b18308ce549852d8ecd83d612db5 (patch)
treeaca8ac8b6a6e3937277efc1c0961c29a1c84bbc2 /src/libs/client/DeprecatedLoader.cpp
parent239825b92b1d4c79ebd67cb3766355bf8e699bc7 (diff)
downloadingen-1c746982c4d1b18308ce549852d8ecd83d612db5.tar.gz
ingen-1c746982c4d1b18308ce549852d8ecd83d612db5.tar.bz2
ingen-1c746982c4d1b18308ce549852d8ecd83d612db5.zip
Fix various problems with control port values.
Fix control port feedback issues with LV2 plugin UIs. git-svn-id: http://svn.drobilla.net/lad/ingen@1218 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client/DeprecatedLoader.cpp')
-rw-r--r--src/libs/client/DeprecatedLoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/client/DeprecatedLoader.cpp b/src/libs/client/DeprecatedLoader.cpp
index 68f7941d..4897137c 100644
--- a/src/libs/client/DeprecatedLoader.cpp
+++ b/src/libs/client/DeprecatedLoader.cpp
@@ -160,7 +160,7 @@ DeprecatedLoader::load_patch(const Glib::ustring& filename,
/* Use parameter overridden polyphony, if given */
GraphObject::Variables::iterator poly_param = initial_data.find("ingen:polyphony");
if (poly_param != initial_data.end() && poly_param->second.type() == Atom::INT)
- poly = poly_param->second;
+ poly = poly_param->second.get_int32();
if (initial_data.find("filename") == initial_data.end())
initial_data["filename"] = Atom(filename.c_str()); // FIXME: URL?