summaryrefslogtreecommitdiff
path: root/gtk2_ardour/plugin_selector.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-01-30 19:12:47 +0100
committerRobin Gareus <robin@gareus.org>2018-01-30 19:52:13 +0100
commitff36421d8e153d6bcb5e9df0a37718deac526c5a (patch)
treeccbe81aae3cedd7142302fa7972a37e8616251a9 /gtk2_ardour/plugin_selector.cc
parent1dd32bae94c639008b79a98339e19fc1feb9462b (diff)
Remove GUI-side LADSPA author-name tweaks.
Diffstat (limited to 'gtk2_ardour/plugin_selector.cc')
-rw-r--r--gtk2_ardour/plugin_selector.cc16
1 files changed, 1 insertions, 15 deletions
diff --git a/gtk2_ardour/plugin_selector.cc b/gtk2_ardour/plugin_selector.cc
index 93a17f260c..80dd1da572 100644
--- a/gtk2_ardour/plugin_selector.cc
+++ b/gtk2_ardour/plugin_selector.cc
@@ -1081,26 +1081,12 @@ PluginSelector::create_by_creator_menu (ARDOUR::PluginInfoList& all_plugs)
if (manager.get_status (*i) == PluginManager::Hidden) continue;
string creator = (*i)->creator;
- string::size_type pos = 0;
-
- if ((*i)->type == ARDOUR::LADSPA) {
- /* stupid LADSPA creator strings */
-#ifdef PLATFORM_WINDOWS
- while (pos < creator.length() && creator[pos] > -2 && creator[pos] < 256 && (isalnum (creator[pos]) || isspace (creator[pos]))) ++pos;
-#else
- while (pos < creator.length() && (isalnum (creator[pos]) || isspace (creator[pos]))) ++pos;
-#endif
- } else {
- pos = creator.length ();
- }
/* If there were too few characters to create a
* meaningful name, mark this creator as 'Unknown'
*/
- if (creator.length() < 2 || pos < 3) {
+ if (creator.length() < 2) {
creator = "Unknown";
- } else{
- creator = creator.substr (0, pos);
}
SubmenuMap::iterator x;