summaryrefslogtreecommitdiff
path: root/src/cairo-path-fixed.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-09-05 14:55:55 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-09-05 14:55:55 +0100
commitb0c466e27afcec230b2c9436eeb924c05123a544 (patch)
treee396ae1255f49803878904bb6cff32bcfd8b1180 /src/cairo-path-fixed.c
parent83759e7d592c5d7b12b2341574fd584fe5e0fb5a (diff)
path: Update last_move_point after move-to
Reported-and-tested-by: Jussi Kukkonen <jku@linux.intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54549 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/cairo-path-fixed.c')
-rw-r--r--src/cairo-path-fixed.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-path-fixed.c b/src/cairo-path-fixed.c
index 459c680f3..c7b1cab1f 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;
}