]> granicus.if.org Git - graphviz/commitdiff
revert change - not right untagged-a22228c7bd6ed4c2a8f9
authorJohn Ellson <ellson@research.att.com>
Thu, 8 Sep 2016 04:13:48 +0000 (00:13 -0400)
committerJohn Ellson <ellson@research.att.com>
Thu, 8 Sep 2016 04:13:48 +0000 (00:13 -0400)
lib/gvc/gvrender.c

index 2eed4330e86471ddf851c2660d203ba7f2892dad..8b0455d44c267070d19bd762077e70322282439f 100644 (file)
@@ -187,7 +187,7 @@ pointf *gvrender_ptf_A(GVJ_t * job, pointf * af, pointf * AF, int n)
 
 static int gvrender_comparestr(const void *s1, const void *s2)
 {
-    return strcmp(s1, s2);
+    return strcmp(*(char**)s1, *(char**)s2);
 }
 
 static void gvrender_resolve_color(gvrender_features_t * features,