diff options
| -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 a76f234..d8b3f40 100644 --- a/apps/recorder/keyboard.c +++ b/apps/recorder/keyboard.c @@ -158,6 +158,9 @@ int kbd_input(char* text, int buflen) } } + /* Zero terminate the string */ + outline[max_chars - 2] = '\0'; + lcd_putsxy(font_w,main_y,outline); /* cursor */ |