From: erg Date: Wed, 13 May 2009 20:53:28 +0000 (+0000) Subject: Fix formatting X-Git-Tag: LAST_LIBGRAPH~32^2~2084 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d0301d00205608298dc9b740c0dace55f0c7c399;p=graphviz Fix formatting --- diff --git a/lib/graph/attribs.c b/lib/graph/attribs.c index 8e223376c..97c764d58 100644 --- a/lib/graph/attribs.c +++ b/lib/graph/attribs.c @@ -132,20 +132,20 @@ static void add_edge_attr(Agraph_t * g, Agsym_t * attr, int isnew) Agsym_t *agattr(void *obj, char *name, char *value) { Agsym_t *rv; - int isnew = 1; + int isnew = 1; rv = agfindattr(obj, name); if (rv) { if (strcmp(rv->value, value)) { - agstrfree(rv->value); - rv->value = agstrdup(value); - isnew = 0; + agstrfree(rv->value); + rv->value = agstrdup(value); + isnew = 0; } else - return rv; + return rv; } - else - rv = agNEWsym(agdictof(obj), name, value); + else + rv = agNEWsym(agdictof(obj), name, value); if (rv) { switch (TAG_OF(obj)) { case TAG_GRAPH: