summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/hci/mucurses/slk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hci/mucurses/slk.c b/src/hci/mucurses/slk.c
index da35c567..b900c068 100644
--- a/src/hci/mucurses/slk.c
+++ b/src/hci/mucurses/slk.c
@@ -81,6 +81,7 @@ static void _print_label ( struct _softlabel sl ) {
assert ( slks->max_label_len <= SLK_MAX_LABEL_LEN );
space_ch = ' ';
+ memset ( str, 0, sizeof ( str ) );
// protect against gaps in the soft label keys array
if ( ! sl.label[0] ) {