From: Emden R. Gansner Date: Wed, 7 May 2014 13:05:35 +0000 (-0400) Subject: Fix bug 2448 X-Git-Tag: TRAVIS_CI_BUILD_EXPERIMENTAL~216^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8dc3321785e0667365b1b888d2fe7176c38e88db;p=graphviz Fix bug 2448 --- diff --git a/lib/gvc/gvconfig.c b/lib/gvc/gvconfig.c index 75147a8c8..4fc2d235b 100644 --- a/lib/gvc/gvconfig.c +++ b/lib/gvc/gvconfig.c @@ -311,7 +311,7 @@ char * gvconfig_libdir(GVC_t * gvc) char* s = tmp-1; /* back up to previous slash (or head of string) */ while ((*s != '/') && (s > path)) s--; - if (strncmp (s, DOTLIBS, STRLEN(DOTLIBS)) == 0); + if (strncmp (s, DOTLIBS, STRLEN(DOTLIBS)) == 0) continue; }