diff options
-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 | ||