diff options
author | onefang | 2021-09-09 18:08:48 +1000 |
---|---|---|
committer | onefang | 2021-09-09 18:08:48 +1000 |
commit | d588e052f2be2afc64a1d07d71e213f62bd87bb9 (patch) | |
tree | 2a865d5248a8455e6e3b400d3aa1c98eab314349 | |
parent | Error log++ (diff) | |
download | opensim-SC-d588e052f2be2afc64a1d07d71e213f62bd87bb9.zip opensim-SC-d588e052f2be2afc64a1d07d71e213f62bd87bb9.tar.gz opensim-SC-d588e052f2be2afc64a1d07d71e213f62bd87bb9.tar.bz2 opensim-SC-d588e052f2be2afc64a1d07d71e213f62bd87bb9.tar.xz |
Add the shini new sandbox to the sims list.
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 306a4e5..b25b993 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -1789,6 +1789,13 @@ simList *getSims() | |||
1789 | { | 1789 | { |
1790 | if (shellMeFail("cp %s/current/example/etc/Sandbox.shini %s/etc/", scRoot, scRoot)) E("Failed to copy Sandbex.shini!"); | 1790 | if (shellMeFail("cp %s/current/example/etc/Sandbox.shini %s/etc/", scRoot, scRoot)) E("Failed to copy Sandbex.shini!"); |
1791 | simNotFound(NULL, "Sandbox", "unsorted", 0, 0, 0, 0); | 1791 | simNotFound(NULL, "Sandbox", "unsorted", 0, 0, 0, 0); |
1792 | if ((ourSims->num + 1) > ourSims->len) | ||
1793 | { | ||
1794 | ourSims->len = ourSims->len + 1; | ||
1795 | ourSims->sims = xrealloc(ourSims->sims, ourSims->len * sizeof(char *)); | ||
1796 | } | ||
1797 | ourSims->sims[ourSims->num] = xstrdup("Sandbox"); | ||
1798 | ourSims->num++; | ||
1792 | ourSims->doIt = TRUE; | 1799 | ourSims->doIt = TRUE; |
1793 | } | 1800 | } |
1794 | 1801 | ||