From: Emden Gansner Date: Mon, 27 Feb 2012 17:23:26 +0000 (-0500) Subject: Add code attribution. X-Git-Tag: LAST_LIBGRAPH~32^2~476 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b12aff652e41d3403678f05a100a19a28cb28203;p=graphviz Add code attribution. --- diff --git a/lib/common/emit.c b/lib/common/emit.c index d2ba2314b..b24525cd2 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -693,6 +693,7 @@ static boolean selectedLayer(GVC_t *gvc, int layerNum, int numLayers, char *spec agxbput(&xb, spec); part_in_p = agxbuse(&xb); + /* Thanks to Matteo Nastasi for this extended code. */ while ((rval == FALSE) && (cur = strtok_r(part_in_p, gvc->layerListDelims, &buf_part_p))) { w1 = w0 = strtok_r (cur, gvc->layerDelims, &buf_p); if (w0)