]> granicus.if.org Git - graphviz/commitdiff
fix fractional penwidths
authorellson <devnull@localhost>
Thu, 30 Jul 2009 19:13:26 +0000 (19:13 +0000)
committerellson <devnull@localhost>
Thu, 30 Jul 2009 19:13:26 +0000 (19:13 +0000)
lib/common/shapes.c

index b15ab79f2dd10233ee098091925e4eba7af25ac5..688ec5b8913b1a79c6d63ff7c5dae086040d5ec9 100644 (file)
@@ -327,7 +327,8 @@ static char **checkStyle(node_t * n, int *flagp)
 static int stylenode(GVJ_t * job, node_t * n)
 {
     char **pstyle, *s;
-    int istyle, penwidth;
+    int istyle;
+    double penwidth;
 
     if ((pstyle = checkStyle(n, &istyle)))
        gvrender_set_style(job, pstyle);