From: Florian Forster Date: Wed, 7 Jul 2010 15:24:31 +0000 (+0200) Subject: src/graph.c: Compare instances with "inst_compare" not "ident_compare". X-Git-Tag: v4.0.0~124 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=99bd3da9d9029e2288df1cf5ded1d5755266143d;p=collection4.git src/graph.c: Compare instances with "inst_compare" not "ident_compare". D'oh! --- diff --git a/src/graph.c b/src/graph.c index d3a8d6f..f2699e1 100644 --- a/src/graph.c +++ b/src/graph.c @@ -486,8 +486,8 @@ int graph_compare (graph_config_t *cfg, const graph_ident_t *ident) /* {{{ */ static int graph_sort_instances_cb (const void *v0, const void *v1) /* {{{ */ { - return (ident_compare (*(graph_ident_t * const *) v0, - *(graph_ident_t * const *) v1)); + return (inst_compare (*(graph_instance_t * const *) v0, + *(graph_instance_t * const *) v1)); } /* }}} int graph_sort_instances_cb */ int graph_sort_instances (graph_config_t *cfg) /* {{{ */