From: ellson Date: Thu, 17 Aug 2006 15:25:22 +0000 (+0000) Subject: restore pen color after text in record shapes (rtest/graphs/b57.dot) X-Git-Tag: LAST_LIBGRAPH~32^2~5963 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b9c5351d1449eeae86be8e0e06ac385ea80b578;p=graphviz restore pen color after text in record shapes (rtest/graphs/b57.dot) --- diff --git a/lib/common/shapes.c b/lib/common/shapes.c index bbcc8c227..c1db44798 100644 --- a/lib/common/shapes.c +++ b/lib/common/shapes.c @@ -1842,6 +1842,7 @@ static void gen_fields(GVJ_t * job, node_t * n, field_t * f) cy = (f->b.LL.y + f->b.UR.y) / 2.0 + ND_coord_i(n).y; f->lp->p = pointof((int) cx, (int) cy); emit_label(job, EMIT_NLABEL, f->lp); + pencolor(job, n); } for (i = 0; i < f->n_flds; i++) {