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-03-06 21:39:48 +0200 |
commit | 65b46f7462e1acad19884da67a9a59996a642847 (patch) | |
tree | 1997054daa45211d97bc273f0a50ccdfe2084ff5 /src/commit.c | |
parent | 5f84463a34bd8c63a3ff649ae550c68934adaa5b (diff) | |
download | apk-tools-65b46f7462e1acad19884da67a9a59996a642847.tar.gz apk-tools-65b46f7462e1acad19884da67a9a59996a642847.tar.bz2 apk-tools-65b46f7462e1acad19884da67a9a59996a642847.tar.xz apk-tools-65b46f7462e1acad19884da67a9a59996a642847.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 c9a4d5e..bca2557 100644 --- a/src/commit.c +++ b/src/commit.c @@ -158,7 +158,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) |