From: Emden Gansner Date: Wed, 1 Aug 2012 19:36:10 +0000 (-0400) Subject: Got the cgraph/graph calls in the wrong order. X-Git-Tag: LAST_LIBGRAPH~32^2~362 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c185cacad08b37c6f170043dbee640da7c4e3797;p=graphviz Got the cgraph/graph calls in the wrong order. --- diff --git a/macosx/GVGraph.m b/macosx/GVGraph.m index bf305b1c5..b4479bfe3 100644 --- a/macosx/GVGraph.m +++ b/macosx/GVGraph.m @@ -89,9 +89,9 @@ extern char *gvplugin_list(GVC_t * gvc, api_t api, const char *str); ptr = strrchr(parentDir,'/'); *ptr = 0; #ifdef WITH_CGRAPH - agraphattr(_graph,"imagepath",parentDir); -#else agattr(_graph,AGRAPH,"imagepath",parentDir); +#else + agraphattr(_graph,"imagepath",parentDir); #endif } fclose(file);