]> granicus.if.org Git - graphviz/commitdiff
Fix commit of incorrect earlier file
authorerg <devnull@localhost>
Thu, 9 Sep 2010 17:22:18 +0000 (17:22 +0000)
committererg <devnull@localhost>
Thu, 9 Sep 2010 17:22:18 +0000 (17:22 +0000)
plugin/core/gvrender_core_svg.c

index 4ea7f4b32bf35bb46bcea62f8f3851220bb8d7ab..15198140e73e11fc856e0021681962364baf7cec 100644 (file)
@@ -112,7 +112,7 @@ static void svg_grstyle(GVJ_t * job, int filled)
        gvprintf(job, "\" stroke-dasharray=\"%s", sdotarray);
     }
     if (obj->pencolor.type == RGBA_BYTE && obj->pencolor.u.rgba[3] > 0 && obj->pencolor.u.rgba[3] < 255)
-       gvprintf(job, "\" stroke-opacity=\"%f", ((float)obj->fillcolor.u.rgba[3]/255.0));
+       gvprintf(job, "\" stroke-opacity=\"%f", ((float)obj->pencolor.u.rgba[3]/255.0));
 
     gvputs(job, "\"");
 }