Fixes STR 3234
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10773 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
b231696dcf
commit
aa9b326b56
@ -260,7 +260,7 @@ const Fl_Tree_Item *Fl_Tree_Item::find_child_item(char **arr) const {
|
||||
if ( child(t)->label() ) {
|
||||
if ( strcmp(child(t)->label(), *arr) == 0 ) { // match?
|
||||
if ( *(arr+1) ) { // more in arr? descend
|
||||
return(_children[t]->find_item(arr+1));
|
||||
return(_children[t]->find_child_item(arr+1));
|
||||
} else { // end of arr? done
|
||||
return(_children[t]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user