diff options
author | Thomas Brand <tom@trellis.ch> | 2017-07-01 18:42:24 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-07-01 19:28:26 +0200 |
commit | 63ea7b6516dbd7554d1eff6c98de50cf61fc9a72 (patch) | |
tree | 82fa339e009bc082dd8023916990800bea437081 /gtk2_ardour/plugin_selector.cc | |
parent | f413b83cb9fa50954969a3d849999e1890ce6690 (diff) |
NO-OP whitespace (updated GH PR #357)
Diffstat (limited to 'gtk2_ardour/plugin_selector.cc')
-rw-r--r-- | gtk2_ardour/plugin_selector.cc | 100 |
1 files changed, 50 insertions, 50 deletions
diff --git a/gtk2_ardour/plugin_selector.cc b/gtk2_ardour/plugin_selector.cc index 7b8e2b4ace..c67af473a0 100644 --- a/gtk2_ardour/plugin_selector.cc +++ b/gtk2_ardour/plugin_selector.cc @@ -620,14 +620,14 @@ PluginSelector::run () PluginPtr p = load_plugin (pp); if (p) { plugins.push_back (p); - } else { - MessageDialog msg (string_compose (_("The plugin \"%1\" could not be loaded\n\nSee the Log window for more details (maybe)"), pp->name)); - msg.run (); - } + } else { + MessageDialog msg (string_compose (_("The plugin \"%1\" could not be loaded\n\nSee the Log window for more details (maybe)"), pp->name)); + msg.run (); + } } if (interested_object && !plugins.empty()) { finish = !interested_object->use_plugins (plugins); - } + } break; @@ -689,57 +689,57 @@ PluginSelector::on_show () } struct PluginMenuCompareByCreator { - bool operator() (PluginInfoPtr a, PluginInfoPtr b) const { - int cmp; - - cmp = cmp_nocase_utf8 (a->creator, b->creator); - - if (cmp < 0) { - return true; - } else if (cmp == 0) { - /* same creator ... compare names */ - if (cmp_nocase_utf8 (a->name, b->name) < 0) { - return true; - } - } - return false; - } + bool operator() (PluginInfoPtr a, PluginInfoPtr b) const { + int cmp; + + cmp = cmp_nocase_utf8 (a->creator, b->creator); + + if (cmp < 0) { + return true; + } else if (cmp == 0) { + /* same creator ... compare names */ + if (cmp_nocase_utf8 (a->name, b->name) < 0) { + return true; + } + } + return false; + } }; struct PluginMenuCompareByName { - bool operator() (PluginInfoPtr a, PluginInfoPtr b) const { - int cmp; - - cmp = cmp_nocase_utf8 (a->name, b->name); - - if (cmp < 0) { - return true; - } else if (cmp == 0) { - /* same name ... compare type */ - if (a->type < b->type) { - return true; - } - } - return false; - } + bool operator() (PluginInfoPtr a, PluginInfoPtr b) const { + int cmp; + + cmp = cmp_nocase_utf8 (a->name, b->name); + + if (cmp < 0) { + return true; + } else if (cmp == 0) { + /* same name ... compare type */ + if (a->type < b->type) { + return true; + } + } + return false; + } }; struct PluginMenuCompareByCategory { - bool operator() (PluginInfoPtr a, PluginInfoPtr b) const { - int cmp; - - cmp = cmp_nocase_utf8 (a->category, b->category); - - if (cmp < 0) { - return true; - } else if (cmp == 0) { - /* same category ... compare names */ - if (cmp_nocase_utf8 (a->name, b->name) < 0) { - return true; - } - } - return false; - } + bool operator() (PluginInfoPtr a, PluginInfoPtr b) const { + int cmp; + + cmp = cmp_nocase_utf8 (a->category, b->category); + + if (cmp < 0) { + return true; + } else if (cmp == 0) { + /* same category ... compare names */ + if (cmp_nocase_utf8 (a->name, b->name) < 0) { + return true; + } + } + return false; + } }; /** @return Plugin menu. The caller should not delete it */ |