]> granicus.if.org Git - graphviz/commitdiff
fix searching for relocated library directory - patch from yunguc
authorJohn Ellson <john.ellson@comcast.net>
Thu, 8 May 2014 03:02:19 +0000 (23:02 -0400)
committerJohn Ellson <john.ellson@comcast.net>
Thu, 8 May 2014 03:02:19 +0000 (23:02 -0400)
lib/gvc/gvconfig.c

index 75147a8c81504296737461773712dba35edfc44d..4fc2d235bc9c9dbfa62ca4e947d4fd8fa7f302be 100644 (file)
@@ -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;
                    }