changeset 20291:eb43bae38445

Fix a typo in collision detection code.
author eugeni
date Wed, 18 Oct 2006 15:52:26 +0000
parents 0c661dcbcfd1
children 4f5c3fbbbba5
files libass/ass_render.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libass/ass_render.c	Wed Oct 18 15:13:27 2006 +0000
+++ b/libass/ass_render.c	Wed Oct 18 15:52:26 2006 +0000
@@ -2009,7 +2009,7 @@
 
 static int cmp_segment(const void* p1, const void* p2)
 {
-	return ((segment_t*)p1)->a - ((segment_t*)p1)->b;
+	return ((segment_t*)p1)->a - ((segment_t*)p2)->a;
 }
 
 static void shift_event(event_images_t* ei, int shift)