diff options
Diffstat (limited to 'apps/recorder')
-rw-r--r-- | apps/recorder/keyboard.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c index a76f2342d2..d8b3f40a45 100644 --- a/apps/recorder/keyboard.c +++ b/apps/recorder/keyboard.c | |||
@@ -158,6 +158,9 @@ int kbd_input(char* text, int buflen) | |||
158 | } | 158 | } |
159 | } | 159 | } |
160 | 160 | ||
161 | /* Zero terminate the string */ | ||
162 | outline[max_chars - 2] = '\0'; | ||
163 | |||
161 | lcd_putsxy(font_w,main_y,outline); | 164 | lcd_putsxy(font_w,main_y,outline); |
162 | 165 | ||
163 | /* cursor */ | 166 | /* cursor */ |