summaryrefslogtreecommitdiffstats
path: root/src/libs/engine
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-09-06 22:07:53 +0000
committerDavid Robillard <d@drobilla.net>2006-09-06 22:07:53 +0000
commit445b55c6d13db5fffe18113cd6664e7923f8251b (patch)
tree86d4fcb6b18e49ef3bd1c9e28334a365d9d3931e /src/libs/engine
parent80923fdb966c74263a723f2ac6a39ea44efb07b2 (diff)
downloadingen-445b55c6d13db5fffe18113cd6664e7923f8251b.tar.gz
ingen-445b55c6d13db5fffe18113cd6664e7923f8251b.tar.bz2
ingen-445b55c6d13db5fffe18113cd6664e7923f8251b.zip
Another fix for port names (mangling for port name clashes)
git-svn-id: http://svn.drobilla.net/lad/ingen@116 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine')
-rw-r--r--src/libs/engine/LADSPANode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/engine/LADSPANode.cpp b/src/libs/engine/LADSPANode.cpp
index 0be82819..96be6771 100644
--- a/src/libs/engine/LADSPANode.cpp
+++ b/src/libs/engine/LADSPANode.cpp
@@ -83,9 +83,9 @@ LADSPANode::instantiate()
assert(_descriptor->PortNames[k] != NULL);
if (k != j && port_name == _descriptor->PortNames[k]) { // clash
if (LADSPA_IS_PORT_CONTROL(_descriptor->PortDescriptors[j]))
- port_name += " (CR)";
+ port_name += "_(CR)";
else
- port_name += " (AR)";
+ port_name += "_(AR)";
}
// Replace all slashes with "-" (so they don't screw up paths)
while ((slash_index = port_name.find("/")) != string::npos)