diff options
author | Timo Teräs <timo.teras@iki.fi> | 2023-03-04 13:54:54 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2023-04-11 20:47:43 +0300 |
commit | 67f5a753e50da8737dc28b0ea2c2194b21d76fdd (patch) | |
tree | 657a81a529d2733eecae1837cc48ac25abe73357 /src/commit.c | |
parent | efb55ce650d3cac9a607560d840f95c1127e68f5 (diff) | |
download | apk-tools-67f5a753e50da8737dc28b0ea2c2194b21d76fdd.tar.gz apk-tools-67f5a753e50da8737dc28b0ea2c2194b21d76fdd.tar.bz2 apk-tools-67f5a753e50da8737dc28b0ea2c2194b21d76fdd.tar.xz apk-tools-67f5a753e50da8737dc28b0ea2c2194b21d76fdd.zip |
db, apps: sort display results based on package names
Diffstat (limited to 'src/commit.c')
-rw-r--r-- | src/commit.c | 2 |
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) |