From: Paul Davis Date: Mon, 7 Mar 2016 01:42:39 +0000 (-0500) Subject: avoid extra iterator increment, so that Option/Paths work X-Git-Tag: 5.0-pre0~1380 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=28cd817d49a682b38004eea3b6c630ff12724b78;p=ardour.git avoid extra iterator increment, so that Option/Paths work --- 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::const_iterator s = components.begin(); s != components.end(); ++s) { + for (std::vector::const_iterator s = components.begin(); s != components.end(); ) { bool component_found = false;