]> granicus.if.org Git - graphviz/commitdiff
Fix bug in parsing rectangles
authorEmden R. Gansner <erg@research.att.com>
Wed, 2 Oct 2013 20:34:47 +0000 (16:34 -0400)
committerEmden R. Gansner <erg@research.att.com>
Wed, 2 Oct 2013 20:34:47 +0000 (16:34 -0400)
lib/xdot/xdot.c

index f7f7a5f10caf5a372494ca805fa63e7605d008f2..66604dcca2be8708eb82f99916a71e2938fa68ad 100755 (executable)
@@ -158,7 +158,7 @@ static char *parseRect(char *s, xdot_rect * rp)
     else
        s = endp;
 
-    rp->y = strtod (s, &endp);
+    rp->h = strtod (s, &endp);
     if (s == endp)
        return 0;
     else