From: north Date: Wed, 31 Jan 2007 21:36:28 +0000 (+0000) Subject: Stupid, stupid, stupid. X-Git-Tag: LAST_LIBGRAPH~32^2~5687 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=93e7b8948f8acb9d190f6528c5dbe35061df185b;p=graphviz Stupid, stupid, stupid. --- diff --git a/lib/common/emit.c b/lib/common/emit.c index 9a8ff0b5c..01f018533 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -1322,7 +1322,7 @@ static void emit_edge_graphics(GVJ_t * job, edge_t * e) default_pencolor(pencolor, DEFAULT_VISITEDPENCOLOR)); fillcolor = late_nnstring(e, E_visitedfillcolor, DEFAULT_VISITEDFILLCOLOR); } - if (E_penwidth && agxget(e,E_penwidth->index)) { + if (E_penwidth && ((p=agxget(e,E_penwidth->index)) && p[0])) { penwidth = late_double(e, E_penwidth, 1.0, 0.0); gvrender_set_penwidth(job, penwidth); }