From 28cd817d49a682b38004eea3b6c630ff12724b78 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 6 Mar 2016 20:42:39 -0500 Subject: avoid extra iterator increment, so that Option/Paths work --- gtk2_ardour/option_editor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3