Hi Christian, This is clearly a bug. Now fixed in CVS. Thanks for reporting. Rene Brun On Fri, 1 Aug 2003, cstrato wrote: > Dear Rooters > > Whenever I try to use TGListTree::FindItemByPathname(), the > return value is null. Probably, I am doing something wrong, but > could it be that the following code fragment may be wrong? > TGListTreeItem *TGListTree::FindItemByPathname(const char *path) > { > while (1) { > item = FindChildByName(item, dirname); > if (!item || !s) return item; <=== should this be item instead > of !item? > } > return 0; > } > > Could this also be the reason, why the fFSComboBox of the root > TBrowser does not behave as it should? > Whenever I select one of my directories in fFSComboBox, the "root" > directory is highlighted in fLT but not the selected directory. > > Thank you in advance > Best regards > Christian > _._._._._._._._._._._._._._._._ > C.h.i.s.t.i.a.n S.t.r.a.t.o.w.a > V.i.e.n.n.a A.u.s.t.r.i.a > _._._._._._._._._._._._._._._._ > > > > >
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:14 MET