]> granicus.if.org Git - graphviz/commitdiff
Fix bug 789.
authorellson <devnull@localhost>
Tue, 18 Oct 2005 21:06:29 +0000 (21:06 +0000)
committerellson <devnull@localhost>
Tue, 18 Oct 2005 21:06:29 +0000 (21:06 +0000)
lib/common/output.c

index 9d99cfba114b947db8132f86874aaede4b95aeb6..18b51dfbdbedfd75e86d554c430fb1c0df772501 100644 (file)
@@ -181,8 +181,8 @@ static void rec_attach_bb(graph_t * g)
     char buf[32];
     point pt;
 
-    sprintf(buf, "%d,%d,%d,%d", GD_bb(g).LL.x, YDIR(GD_bb(g).LL.y),
-           GD_bb(g).UR.x, YDIR(GD_bb(g).UR.y));
+    sprintf(buf, "%d,%d,%d,%d", GD_bb(g).LL.x, GD_bb(g).LL.y,
+           GD_bb(g).UR.x, GD_bb(g).UR.y);
     agset(g, "bb", buf);
     if (GD_label(g) && GD_label(g)->text[0]) {
        pt = GD_label(g)->p;