]> granicus.if.org Git - graphviz/commitdiff
fix breakage
authorellson <devnull@localhost>
Wed, 15 Oct 2008 13:21:01 +0000 (13:21 +0000)
committerellson <devnull@localhost>
Wed, 15 Oct 2008 13:21:01 +0000 (13:21 +0000)
lib/common/htmltable.c

index 8e6c1a12c53b8feaf42c21553b43c344959e0bcb..272271bbeedaeeab3317076d771d41c6feee7f83 100644 (file)
@@ -1601,7 +1601,11 @@ static char *nameOf(void *obj, agxbuf * xb)
 {
     Agedge_t *ep;
     switch (agobjkind(obj)) {
+#ifndef WITH_CGRAPH
+    case AGGRAPH:
+#else
     case AGRAPH:
+#endif
        agxbput(xb, agnameof(((Agraph_t *) obj)));
        break;
     case AGNODE: