avoid extra iterator increment, so that Option/Paths work
This commit is contained in:
parent
64a678e1d7
commit
28cd817d49
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user