diff options
Diffstat (limited to 'tsalis/src/handler.c')
-rw-r--r-- | tsalis/src/handler.c | 1 |
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); } } |