summaryrefslogtreecommitdiff
path: root/ui.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-01-29 10:44:46 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-01-29 10:44:46 -0500
commit6f6ae8af3e3fdee60d38fa12f25ff83097522807 (patch)
tree353936408eb0329a9833db8d847e1e4a69ae18b8 /ui.c
parent31b5649b131695300f39563640c4af8f0d3032cb (diff)
got windows build to work again
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 f0cdb72..9c63fb4 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