summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/commit.c')
-rw-r--r--src/commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commit.c b/src/commit.c
index f582ec2..79438db 100644
--- a/src/commit.c
+++ b/src/commit.c
@@ -155,7 +155,7 @@ static int sort_change(const void *a, const void *b)
const struct apk_change *cb = b;
const struct apk_name *na = ca->old_pkg ? ca->old_pkg->name : ca->new_pkg->name;
const struct apk_name *nb = cb->old_pkg ? cb->old_pkg->name : cb->new_pkg->name;
- return strcmp(na->name, nb->name);
+ return apk_name_cmp_display(na, nb);
}
static int cmp_remove(struct apk_change *change)