diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-03-06 20:42:39 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-03-06 20:42:39 -0500 |
commit | 28cd817d49a682b38004eea3b6c630ff12724b78 (patch) | |
tree | f9c88ae0d2e8bb4a77d3a080cf45cc8dd3ae77fd /gtk2_ardour | |
parent | 64a678e1d7d4513ce66f7b202c2abe4bdfe5d678 (diff) |
avoid extra iterator increment, so that Option/Paths work
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/option_editor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/option_editor.cc b/gtk2_ardour/option_editor.cc index 889fafceb4..6f3db85006 100644 --- a/gtk2_ardour/option_editor.cc +++ b/gtk2_ardour/option_editor.cc @@ -564,7 +564,7 @@ OptionEditor::add_path_to_treeview (std::string const & pn, Gtk::Widget& widget) /* foreach path component ... */ - for (std::vector<std::string>::const_iterator s = components.begin(); s != components.end(); ++s) { + for (std::vector<std::string>::const_iterator s = components.begin(); s != components.end(); ) { bool component_found = false; |