aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sledjchisl/sledjchisl.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index a69ce1f..2a992e5 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -2074,8 +2074,11 @@ void findWindow(simData *simd, char *sim, char *type, int count, int window, int
2074 freeLuaTree(IDs); 2074 freeLuaTree(IDs);
2075 if (strcmp(backupIARsim, sim) == 0) 2075 if (strcmp(backupIARsim, sim) == 0)
2076 { 2076 {
2077 ourSims->backup = xstrdup(simd->paneID); 2077 if (NULL == ourSims->backup)
2078 V("Found backup sim %s in %s", sim, simd->paneID); 2078 {
2079 ourSims->backup = xstrdup(simd->paneID);
2080 V("Found backup sim %s in %s", sim, simd->paneID);
2081 }
2079 } 2082 }
2080} 2083}
2081 2084