summaryrefslogtreecommitdiff
path: root/gtk2_ardour/option_editor.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-03-06 20:42:39 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2016-03-06 20:42:39 -0500
commit28cd817d49a682b38004eea3b6c630ff12724b78 (patch)
treef9c88ae0d2e8bb4a77d3a080cf45cc8dd3ae77fd /gtk2_ardour/option_editor.cc
parent64a678e1d7d4513ce66f7b202c2abe4bdfe5d678 (diff)
avoid extra iterator increment, so that Option/Paths work
Diffstat (limited to 'gtk2_ardour/option_editor.cc')
-rw-r--r--gtk2_ardour/option_editor.cc2
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;