diff options
author | David Robillard <d@drobilla.net> | 2015-08-29 01:04:18 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-08-29 01:04:18 +0000 |
commit | d3768319106a5cf7824579ec3bf9ff1776c09383 (patch) | |
tree | 75ff9aee374306a7f7ecdc8e5cfc807dcbdc1a22 /src/client/BlockModel.cpp | |
parent | 3b22d3c8c57867cad7304dac1e9be5ee36ae9715 (diff) | |
download | ingen-d3768319106a5cf7824579ec3bf9ff1776c09383.tar.gz ingen-d3768319106a5cf7824579ec3bf9ff1776c09383.tar.bz2 ingen-d3768319106a5cf7824579ec3bf9ff1776c09383.zip |
Fix invalid conversion of URIDs to strings.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5709 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/BlockModel.cpp')
-rw-r--r-- | src/client/BlockModel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/BlockModel.cpp b/src/client/BlockModel.cpp index 67261dba..e3f7d22f 100644 --- a/src/client/BlockModel.cpp +++ b/src/client/BlockModel.cpp @@ -239,7 +239,7 @@ std::string BlockModel::port_label(SPtr<const PortModel> port) const { const Atom& name = port->get_property(Raul::URI(LV2_CORE__name)); - if (name.is_valid()) { + if (name.is_valid() && name.type() == _uris.forge.String) { return name.ptr<char>(); } |