diff options
author | onefang | 2021-09-14 15:12:44 +1000 |
---|---|---|
committer | onefang | 2021-09-14 15:12:44 +1000 |
commit | b466203254a5c1168fd7f430c6982b9b0710f981 (patch) | |
tree | 4970b9d97816a6a36693691910a38a547ede88c8 | |
parent | Run load iar in the correct pane. (diff) | |
download | opensim-SC-b466203254a5c1168fd7f430c6982b9b0710f981.zip opensim-SC-b466203254a5c1168fd7f430c6982b9b0710f981.tar.gz opensim-SC-b466203254a5c1168fd7f430c6982b9b0710f981.tar.bz2 opensim-SC-b466203254a5c1168fd7f430c6982b9b0710f981.tar.xz |
Remove obsolete members of simData.
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 8ed7ada..4d1902f 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -1269,7 +1269,7 @@ struct _simData | |||
1269 | int locX, locY, sizeX, sizeY, sizeZ, portH, portU, maxPrims; | 1269 | int locX, locY, sizeX, sizeY, sizeZ, portH, portU, maxPrims; |
1270 | char *name, *tab, *UUID, *regionType, *estate, *owner; | 1270 | char *name, *tab, *UUID, *regionType, *estate, *owner; |
1271 | char *paneID; | 1271 | char *paneID; |
1272 | int window, pane, users; | 1272 | int users; |
1273 | }; | 1273 | }; |
1274 | 1274 | ||
1275 | typedef struct _simList simList; | 1275 | typedef struct _simList simList; |
@@ -2084,9 +2084,6 @@ void prepSims(simData *simd, char *sim, char *type, int count, int window, int p | |||
2084 | char *newPath = xmprintf("%s/sim%d/%s.ini", scTemp, count, simd->tab); // Coz OpenSim sucks. | 2084 | char *newPath = xmprintf("%s/sim%d/%s.ini", scTemp, count, simd->tab); // Coz OpenSim sucks. |
2085 | char *cmd; | 2085 | char *cmd; |
2086 | 2086 | ||
2087 | simd->window = window; | ||
2088 | simd->pane = pane; | ||
2089 | |||
2090 | // Make sure all tmux windows and panes are startned. | 2087 | // Make sure all tmux windows and panes are startned. |
2091 | if (0 == panes) | 2088 | if (0 == panes) |
2092 | { | 2089 | { |
@@ -2151,8 +2148,6 @@ void prepSims(simData *simd, char *sim, char *type, int count, int window, int p | |||
2151 | // Figure out where the sims are running. | 2148 | // Figure out where the sims are running. |
2152 | void findSimsTmux(simData *simd, char *sim, char *type, int count, int window, int panes, int pane) | 2149 | void findSimsTmux(simData *simd, char *sim, char *type, int count, int window, int panes, int pane) |
2153 | { | 2150 | { |
2154 | simd->window = window; | ||
2155 | simd->pane = pane; | ||
2156 | snprintf(toybuf, sizeof(toybuf), "%s/IDs_%d.lua", scTemp, window); | 2151 | snprintf(toybuf, sizeof(toybuf), "%s/IDs_%d.lua", scTemp, window); |
2157 | qtreetbl_t *IDs = Lua2tree(toybuf, "IDs"); | 2152 | qtreetbl_t *IDs = Lua2tree(toybuf, "IDs"); |
2158 | snprintf(toybuf, sizeof(toybuf), "%d %d", window, pane); | 2153 | snprintf(toybuf, sizeof(toybuf), "%d %d", window, pane); |