]> granicus.if.org Git - graphviz/commitdiff
two lines, two bugs, sounds about right :-(
authorellson <devnull@localhost>
Tue, 18 Oct 2005 19:06:13 +0000 (19:06 +0000)
committerellson <devnull@localhost>
Tue, 18 Oct 2005 19:06:13 +0000 (19:06 +0000)
lib/gvc/gvconfig.c

index 2cae8e4444d34c50e0d27ef24dd115ec19428e28..2a1e7ec0473456b86756afc69e16fadc9b70e531 100644 (file)
@@ -299,7 +299,7 @@ static void config_rescan(GVC_t *gvc, char *config_path)
 
     config_re = gmalloc(strlen(plugin_re_beg) + 20 + strlen(plugin_re_end) + 1);
 #ifdef LT_CURRENT
-    sprintf(config_re,"%s%d%s", LT_CURRENT, plugin_re_beg, plugin_re_end);
+    sprintf(config_re,"%s%d%s", plugin_re_beg, LT_CURRENT, plugin_re_end);
 #else
     sprintf(config_re,"%s[0-9]+%s", plugin_re_beg, plugin_re_end);
 #endif