From cad6f24a50284d08aa2e4d6f5f5cc438396c6ef7 Mon Sep 17 00:00:00 2001 From: Mats Lidell Date: Tue, 11 Mar 2003 15:05:04 +0000 Subject: Synched with recorder: Starts editing at the end of the string. Bug with long strings fixed (Strings longer than newchars was truncated.) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3431 a1c6a512-1295-4272-9138-f99709370657 --- apps/player/keyboard.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/apps/player/keyboard.c b/apps/player/keyboard.c index aee6eb5de9..70084f8612 100644 --- a/apps/player/keyboard.c +++ b/apps/player/keyboard.c @@ -97,6 +97,10 @@ int kbd_input(char* text, int buflen) lcd_clear_display(); + old_cursor_pos=cursor_pos=strlen(text); + if (9