From 1bd9a10a8ab09fa5017ac23bfc090dbae1dcc5f8 Mon Sep 17 00:00:00 2001 From: onefang Date: Fri, 6 Aug 2021 05:59:41 +1000 Subject: No need to sort ourSims->sims. --- src/sledjchisl/sledjchisl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 5d85669..91eb6e8 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c @@ -1208,11 +1208,8 @@ simList *getSims() ourSims->byTab = qtreetbl(0); new->extra = (long) ourSims; dirtree_handle_callback(new, filterSims); - - qsort(ourSims->sims, ourSims->num, sizeof(char *), qstrcmp); free(path); - char *file = xmprintf("%s/sims.lua", scEtc); char *tnm = "sims = -- Note these are .shini / tmux tab short names.\n{\n {['type'] = 'unsorted';\n"; struct stat st; -- cgit v1.1