From 6f6ae8af3e3fdee60d38fa12f25ff83097522807 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Fri, 29 Jan 2021 10:44:46 -0500 Subject: got windows build to work again --- ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui.c') 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 -- cgit v1.2.3