Bugfix for recent commit in strands, accidentally included code that

wasn't working yet, this should fix it.
This commit is contained in:
Brecht Van Lommel 2008-01-30 14:25:36 +00:00
parent 2227c32b7f
commit b9309909fb

@ -436,7 +436,7 @@ static int compare_strand_segment(const void *poin1, const void *poin2)
const StrandSortSegment *seg1= (const StrandSortSegment*)poin1; const StrandSortSegment *seg1= (const StrandSortSegment*)poin1;
const StrandSortSegment *seg2= (const StrandSortSegment*)poin2; const StrandSortSegment *seg2= (const StrandSortSegment*)poin2;
if(seg1->z > seg2->z) if(seg1->z < seg2->z)
return -1; return -1;
else if(seg1->z == seg2->z) else if(seg1->z == seg2->z)
return 0; return 0;