From: Matthew Fernandez Date: Thu, 21 Apr 2022 14:51:36 +0000 (-0700) Subject: cgraph: realign 'agmapnametoid' parameter name with its definition X-Git-Tag: 4.0.0~63^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=41365403cf351f055ecf2bd2be7a6d0468af9fea;p=graphviz cgraph: realign 'agmapnametoid' parameter name with its definition The definition of this function calls the last parameter `createflag`, not `allocflag`. --- diff --git a/lib/cgraph/cghdr.h b/lib/cgraph/cghdr.h index 8051a036d..4f05921fc 100644 --- a/lib/cgraph/cghdr.h +++ b/lib/cgraph/cghdr.h @@ -107,7 +107,7 @@ void aglexbad(void); /* ID management */ int agmapnametoid(Agraph_t * g, int objtype, char *str, - IDTYPE *result, int allocflag); + IDTYPE *result, int createflag); int agallocid(Agraph_t * g, int objtype, IDTYPE request); void agfreeid(Agraph_t * g, int objtype, IDTYPE id); char *agprintid(Agobj_t * obj);