Hi Thomas,
thanks for the fix.
Cheers, Fons.
On Thu, 2003-05-08 at 15:06, Thomas Bretz wrote:
> Dear rooters,
>
> I'm not sure, whether it has been fixed already... I'm using root 3.02/07
>
> Search doesn't work correctly. It is possible to search forward, but it
> is not possible to search backward.
>
> Simple exchange the first lines to the following will do the job:
> if (fIsMarked)
> if (!direction)
> {
> pos2.fX = fMarkedStart.fX;
> pos2.fY = fMarkedStart.fY;
> }
> else
> {
> pos2.fX = fMarkedEnd.fX+1;
> pos2.fY = fMarkedEnd.fY;
> }
> And remove the ++, -- in the following lines...
>
> Best regards,
> Thomas.
>
> PS: Would be great if Mark(), Unmark() would be public.
--
Org: CERN, European Laboratory for Particle Physics.
Mail: 1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248
WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7679480
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET