From 7b0fa22c84ecd6b0205cadccf90083c105f5fd3f Mon Sep 17 00:00:00 2001 From: Thomas Jepp Date: Thu, 17 Dec 2015 15:29:55 +0000 Subject: Fix the reversed sort order for nodes. --- src/cstore/cstore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/cstore/cstore.cpp b/src/cstore/cstore.cpp index 1253978..19fadad 100644 --- a/src/cstore/cstore.cpp +++ b/src/cstore/cstore.cpp @@ -2022,7 +2022,7 @@ Cstore::assert_internal(bool cond, const char *fmt, ...) bool Cstore::sort_func_deb_version(string a, string b) { - return debVS.CmpVersion(a, b) > 0; + return debVS.CmpVersion(a, b) < 0; } void -- cgit v1.2.3