aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/sledjchisl/sledjchisl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sledjchisl/sledjchisl.c')
-rw-r--r--src/sledjchisl/sledjchisl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index fc0857a..ab8776c 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -1938,7 +1938,7 @@ void stopSim(simData *simd, char *sim, char *type, int count, int window, int pa
1938 { 1938 {
1939 if ('0' == r[0]) 1939 if ('0' == r[0])
1940 sendTmuxCmd(simd->paneID, "quit"); 1940 sendTmuxCmd(simd->paneID, "quit");
1941 else 1941 else if (strlen(r) > 0)
1942 { 1942 {
1943 r[strlen(r) - 1] = '\0'; 1943 r[strlen(r) - 1] = '\0';
1944 simd->users = atoi(r); 1944 simd->users = atoi(r);