diff options
author | onefang | 2021-08-06 05:59:41 +1000 |
---|---|---|
committer | onefang | 2021-08-06 05:59:41 +1000 |
commit | 1bd9a10a8ab09fa5017ac23bfc090dbae1dcc5f8 (patch) | |
tree | c4d9f2a5b9637964cf82f9f12670c52c0306ab38 | |
parent | Clean up some leakage, and remove an extra level of sim data storage. (diff) | |
download | opensim-SC-1bd9a10a8ab09fa5017ac23bfc090dbae1dcc5f8.zip opensim-SC-1bd9a10a8ab09fa5017ac23bfc090dbae1dcc5f8.tar.gz opensim-SC-1bd9a10a8ab09fa5017ac23bfc090dbae1dcc5f8.tar.bz2 opensim-SC-1bd9a10a8ab09fa5017ac23bfc090dbae1dcc5f8.tar.xz |
No need to sort ourSims->sims.
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 3 |
1 files changed, 0 insertions, 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() | |||
1208 | ourSims->byTab = qtreetbl(0); | 1208 | ourSims->byTab = qtreetbl(0); |
1209 | new->extra = (long) ourSims; | 1209 | new->extra = (long) ourSims; |
1210 | dirtree_handle_callback(new, filterSims); | 1210 | dirtree_handle_callback(new, filterSims); |
1211 | |||
1212 | qsort(ourSims->sims, ourSims->num, sizeof(char *), qstrcmp); | ||
1213 | free(path); | 1211 | free(path); |
1214 | 1212 | ||
1215 | |||
1216 | char *file = xmprintf("%s/sims.lua", scEtc); | 1213 | char *file = xmprintf("%s/sims.lua", scEtc); |
1217 | char *tnm = "sims = -- Note these are .shini / tmux tab short names.\n{\n {['type'] = 'unsorted';\n"; | 1214 | char *tnm = "sims = -- Note these are .shini / tmux tab short names.\n{\n {['type'] = 'unsorted';\n"; |
1218 | struct stat st; | 1215 | struct stat st; |