gdi: fix path segments drawing

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=64698
This commit is contained in:
天外银龙 2014-11-03 01:25:40 +01:00 committed by Marc-André Lureau
parent c22fbffbc7
commit a74209a9c3

View File

@ -319,7 +319,7 @@ static void set_path(GdiCanvas *canvas, SpicePath *s)
unsigned int i;
for (i = 0; i < s->num_segments; i++) {
SpicePathSeg* seg = s->segments[0];
SpicePathSeg* seg = s->segments[i];
SpicePointFix* point = seg->points;
SpicePointFix* end_point = point + seg->count;