From 93500dab06d2428586e73d5a33fff2eb198d1e1d Mon Sep 17 00:00:00 2001 From: ellson Date: Mon, 11 Sep 2006 15:34:29 +0000 Subject: [PATCH] fix bug#1006 --- lib/common/output.c | 2 ++ 1 file changed, 2 insertions(+) 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])); -- 2.50.1