diff options
Diffstat (limited to 'apps/recorder/keyboard.c')
-rw-r--r-- | apps/recorder/keyboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c index 45cccdcf8b..f64061d303 100644 --- a/apps/recorder/keyboard.c +++ b/apps/recorder/keyboard.c | |||
@@ -1063,7 +1063,7 @@ static void kbd_draw_edit_line(struct keyboard_parameters *pm, | |||
1063 | while (*utf8 && i < pm->max_chars_text) | 1063 | while (*utf8 && i < pm->max_chars_text) |
1064 | { | 1064 | { |
1065 | j = utf8seek(utf8, 1); | 1065 | j = utf8seek(utf8, 1); |
1066 | strlcpy(outline, utf8, j+1); | 1066 | strmemccpy(outline, utf8, j+1); |
1067 | sc->getstringsize(outline, &w, NULL); | 1067 | sc->getstringsize(outline, &w, NULL); |
1068 | sc->putsxy(text_margin + i*pm->text_w + (pm->text_w-w)/2, | 1068 | sc->putsxy(text_margin + i*pm->text_w + (pm->text_w-w)/2, |
1069 | y, outline); | 1069 | y, outline); |