aboutsummaryrefslogtreecommitdiff
path: root/tsalis/src/handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'tsalis/src/handler.c')
-rw-r--r--tsalis/src/handler.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tsalis/src/handler.c b/tsalis/src/handler.c
index 21aa706..ded2d9a 100644
--- a/tsalis/src/handler.c
+++ b/tsalis/src/handler.c
@@ -130,6 +130,7 @@ static void
renameSim(const char *name)
{
if (strlen(name) <= NAME_MAX_SIZE) {
+ clear();
strncpy(g_simName, name, NAME_MAX_SIZE);
}
}