summaryrefslogtreecommitdiffstats
path: root/src/Parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Parser.cpp')
-rw-r--r--src/Parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Parser.cpp b/src/Parser.cpp
index 562d0367..070e0781 100644
--- a/src/Parser.cpp
+++ b/src/Parser.cpp
@@ -192,7 +192,7 @@ get_port(Ingen::World* world,
// Get symbol
Resource::Properties::const_iterator s = props.find(uris.lv2_symbol);
std::string sym;
- if (s != props.end()) {
+ if (s != props.end() && s->second.type() == world->forge().String) {
sym = s->second.ptr<char>();
} else {
const std::string subject_str = subject.to_string();