Fix computation of x_offset in pixman_add_traps.
authorKamalneet Singh <kamalneet.s@samsung.com>
Wed, 19 Mar 2008 14:02:11 +0000 (10:02 -0400)
committerAdam Jackson <ajax@redhat.com>
Wed, 19 Mar 2008 14:02:11 +0000 (10:02 -0400)
pixman/pixman-trap.c

index 28e755a..468324e 100644 (file)
@@ -49,7 +49,7 @@ pixman_add_traps (pixman_image_t *    image,
     height = image->bits.height;
     bpp = PIXMAN_FORMAT_BPP (image->bits.format);
     
-    x_off_fixed = pixman_int_to_fixed(y_off);
+    x_off_fixed = pixman_int_to_fixed(x_off);
     y_off_fixed = pixman_int_to_fixed(y_off);
 
     while (ntrap--)