aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2021-08-06 05:59:41 +1000
committeronefang2021-08-06 05:59:41 +1000
commit1bd9a10a8ab09fa5017ac23bfc090dbae1dcc5f8 (patch)
treec4d9f2a5b9637964cf82f9f12670c52c0306ab38
parentClean up some leakage, and remove an extra level of sim data storage. (diff)
downloadopensim-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.c3
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;