From 17ad0ca1ad23b336b0fa5952f42dfad95397fc47 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 1 Aug 2016 15:44:14 -0400 Subject: Rename main graph and control/notify ports --- src/server/LV2Plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/LV2Plugin.cpp') diff --git a/src/server/LV2Plugin.cpp b/src/server/LV2Plugin.cpp index ce920f4e..9450373f 100644 --- a/src/server/LV2Plugin.cpp +++ b/src/server/LV2Plugin.cpp @@ -69,7 +69,7 @@ const Raul::Symbol LV2Plugin::symbol() const { string working = uri(); - if (working[working.length() - 1] == '/') + if (working.back() == '/') working = working.substr(0, working.length() - 1); while (working.length() > 0) { -- cgit v1.2.1