[Spice-commits] common/gdi_canvas.c

Marc-André Lureau elmarco at kemper.freedesktop.org
Mon Nov 10 02:38:31 PST 2014


 common/gdi_canvas.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a74209a9c37c12535c04fa27b300620aebbf0a46
Author: 天外银龙 <877821264 at qq.com>
Date:   Mon Nov 3 01:25:40 2014 +0100

    gdi: fix path segments drawing
    
    Fixes:
    https://bugs.freedesktop.org/show_bug.cgi?id=64698

diff --git a/common/gdi_canvas.c b/common/gdi_canvas.c
index deb7649..3042031 100644
--- a/common/gdi_canvas.c
+++ b/common/gdi_canvas.c
@@ -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;
 


More information about the Spice-commits mailing list