From: ellson Date: Mon, 11 Sep 2006 15:34:29 +0000 (+0000) Subject: fix bug#1006 X-Git-Tag: LAST_LIBGRAPH~32^2~5893 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=93500dab06d2428586e73d5a33fff2eb198d1e1d;p=graphviz fix bug#1006 --- diff --git a/lib/common/output.c b/lib/common/output.c index 7e7f24e33..82067c281 100644 --- a/lib/common/output.c +++ b/lib/common/output.c @@ -440,6 +440,8 @@ void extend_attrs(GVJ_t * job, graph_t *g, agxbuf** xbufs) void extend_attrs_glabel(graph_t *sg, agxbuf **xbufs) { + if (!g_draw) + g_draw = safe_dcl(sg->root, sg, "_draw_", "", agraphattr); agxset(sg, g_draw->index, agxbuse(xbufs[EMIT_CDRAW])); if (GD_label(sg)) agxset(sg, g_l_draw->index, agxbuse(xbufs[EMIT_CLABEL]));