From b47942a93291b39aaae4a0b3e86f8f41bb7d2d1c Mon Sep 17 00:00:00 2001 From: ellson Date: Tue, 18 Oct 2005 21:11:06 +0000 Subject: [PATCH] Fix glitch in agsafeset. --- lib/graph/attribs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/graph/attribs.c b/lib/graph/attribs.c index fc82f280e..1b8037a3a 100644 --- a/lib/graph/attribs.c +++ b/lib/graph/attribs.c @@ -335,13 +335,13 @@ int agsafeset(void* obj, char* name, char* value, char* def) if (!def) def = ""; switch (TAG_OF(obj)) { case TAG_GRAPH: - agraphattr((Agraph_t*)obj, name, def); + a = agraphattr((Agraph_t*)obj, name, def); break; case TAG_NODE: - agnodeattr(((Agnode_t*)obj)->graph, name, def); + a = agnodeattr(((Agnode_t*)obj)->graph, name, def); break; case TAG_EDGE: - agedgeattr(((Agedge_t*)obj)->head->graph, name, def); + a = agedgeattr(((Agedge_t*)obj)->head->graph, name, def); break; } } -- 2.50.1