diff options
Diffstat (limited to 'src/gui/PatchCanvas.cpp')
-rw-r--r-- | src/gui/PatchCanvas.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/PatchCanvas.cpp b/src/gui/PatchCanvas.cpp index fbbe88b1..6e6667fc 100644 --- a/src/gui/PatchCanvas.cpp +++ b/src/gui/PatchCanvas.cpp @@ -785,7 +785,7 @@ PatchCanvas::generate_port_name( snprintf(num_buf, sizeof(num_buf), "%u", i); symbol = sym_base + "_"; symbol += num_buf; - if (!_patch->get_port(symbol)) + if (!_patch->get_port(Raul::Symbol::symbolify(symbol))) break; } @@ -832,7 +832,7 @@ PatchCanvas::load_plugin(WeakPtr<PluginModel> weak_plugin) if (offset != 0) { std::stringstream ss; ss << symbol << "_" << offset; - symbol = ss.str(); + symbol = Raul::Symbol(ss.str()); } const URIs& uris = _app.uris(); |