13
0

avoid extra iterator increment, so that Option/Paths work

This commit is contained in:
Paul Davis 2016-03-06 20:42:39 -05:00
parent 64a678e1d7
commit 28cd817d49

View File

@ -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;