[cairo-commit] src/cairo-path-fixed.c

Chris Wilson ickle at kemper.freedesktop.org
Wed Sep 5 06:57:10 PDT 2012


 src/cairo-path-fixed.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit b0c466e27afcec230b2c9436eeb924c05123a544
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed Sep 5 14:55:55 2012 +0100

    path: Update last_move_point after move-to
    
    Reported-and-tested-by: Jussi Kukkonen <jku at linux.intel.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54549
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/cairo-path-fixed.c b/src/cairo-path-fixed.c
index 459c680..c7b1cab 100644
--- a/src/cairo-path-fixed.c
+++ b/src/cairo-path-fixed.c
@@ -419,6 +419,7 @@ _cairo_path_fixed_move_to (cairo_path_fixed_t  *path,
     path->has_current_point = TRUE;
     path->current_point.x = x;
     path->current_point.y = y;
+    path->last_move_point = path->current_point;
 
     return CAIRO_STATUS_SUCCESS;
 }


More information about the cairo-commit mailing list