summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2015-06-23 16:36:47 +0000
committerGreg Ercolano <erco@seriss.com>2015-06-23 16:36:47 +0000
commitaa9b326b56d3b44a11ef19a4287b97cde2f62ab3 (patch)
tree674dbacb256da8fb098286c304fb2354d6d30861
parentb231696dcf3b6389fefdb41c7cdccb8979264902 (diff)
Fixes STR 3234
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10773 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/Fl_Tree_Item.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Tree_Item.cxx b/src/Fl_Tree_Item.cxx
index c91e8f0d5..7cd66b061 100644
--- a/src/Fl_Tree_Item.cxx
+++ b/src/Fl_Tree_Item.cxx
@@ -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]);
}