summaryrefslogtreecommitdiffstats
path: root/src/gui/LoadSubpatchWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/LoadSubpatchWindow.cpp')
-rw-r--r--src/gui/LoadSubpatchWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/LoadSubpatchWindow.cpp b/src/gui/LoadSubpatchWindow.cpp
index 65daa638..240b4b64 100644
--- a/src/gui/LoadSubpatchWindow.cpp
+++ b/src/gui/LoadSubpatchWindow.cpp
@@ -181,7 +181,7 @@ LoadSubpatchWindow::avoid_symbol_clash(const Raul::Symbol& symbol)
if (offset != 0) {
std::stringstream ss;
- ss << symbol << "_" << offset + 1;
+ ss << symbol << "_" << offset;
return ss.str();
} else {
return symbol;