]> granicus.if.org Git - graphviz/commitdiff
update for make_label api change
authorellson <devnull@localhost>
Tue, 19 Aug 2008 13:15:59 +0000 (13:15 +0000)
committerellson <devnull@localhost>
Tue, 19 Aug 2008 13:15:59 +0000 (13:15 +0000)
lib/patchwork/patchwork.c

index d24729c16682073e2d34b2c20a6f1ec7c644f189..118c0521d88993cac05082335fe54bed102fad01 100644 (file)
@@ -152,7 +152,7 @@ static void finishNode (node_t* n)
 {
     char* str = strdup_and_subst_obj(NODENAME_ESC, (void*)n);
     ND_shape(n) = bind_shape("box", n);
-    ND_label(n) = make_label(n->graph, LT_NONE, str,
+    ND_label(n) = make_label((void*)n, str, LT_NONE,
                late_double(n, N_fontsize, DEFAULT_FONTSIZE, MIN_FONTSIZE),
                late_nnstring(n, N_fontname, DEFAULT_FONTNAME),
                late_nnstring(n, N_fontcolor, DEFAULT_COLOR));