mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-08-08 08:22:13 +00:00
gdi: fix path segments drawing
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=64698
This commit is contained in:
parent
c22fbffbc7
commit
a74209a9c3
@ -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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user