1
0
Fork 0
forked from len0rd/rockbox

The keyboard input didn't terminate the on-screen string

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3472 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2003-03-17 23:16:20 +00:00
parent 3c6bb5c040
commit 55fc6df874

View file

@ -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 */