From 93e7b8948f8acb9d190f6528c5dbe35061df185b Mon Sep 17 00:00:00 2001 From: north Date: Wed, 31 Jan 2007 21:36:28 +0000 Subject: [PATCH] Stupid, stupid, stupid. --- lib/common/emit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.40.0