Message ID | 4C121401.1050102@unine.ch |
---|---|
State | New |
Headers | show |
On 06/11/2010 03:46 AM, Patrick Marlier wrote: > Hello Richard, > > Just a small mistake in clone.cc. The comparison must be "greater than". > This was making troubles to find clone functions since the table is not > well sorted. > > Thank you. > Have a nice day, > > Patrick Marlier. > > Index: clone.cc > =================================================================== > --- clone.cc (revision 160599) > +++ clone.cc (working copy) > @@ -113,7 +113,7 @@ > > if (aa->orig < bb->orig) > return -1; > - else if (aa->orig < bb->orig) > + else if (aa->orig > bb->orig) Good grief. Applied, thanks. r~
Index: clone.cc =================================================================== --- clone.cc (revision 160599) +++ clone.cc (working copy) @@ -113,7 +113,7 @@ if (aa->orig < bb->orig) return -1; - else if (aa->orig < bb->orig) + else if (aa->orig > bb->orig) return 1; else return 0;