summaryrefslogtreecommitdiff
path: root/ui.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-01-29 15:46:14 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-01-29 15:46:14 -0500
commit565b5e619ed64f459f1b38b5b94bb72b5b9a714f (patch)
treeb51c3c8cbac11346cafceb7c672222d74c4c7107 /ui.c
parent5230cb1533d9e30e9870975cba2cd7e7e86bc22a (diff)
parent6f6ae8af3e3fdee60d38fa12f25ff83097522807 (diff)
merge
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index e49e9c1..058f76b 100644
--- a/ui.c
+++ b/ui.c
@@ -85,7 +85,7 @@ static void file_selector_down(Ted const *ted, FileSelector *fs, i64 n) {
file_selector_up(ted, fs, -n);
}
-static int qsort_file_entry_cmp(void const *av, void const *bv, void *search_termv) {
+static int qsort_file_entry_cmp(void *search_termv, void const *av, void const *bv) {
char const *search_term = search_termv;
FileEntry const *a = av, *b = bv;
// put directories first