1
0
Fork 0
forked from len0rd/rockbox

Player: Fixed bug where strings which are only a bit too long wouldn't scroll.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12977 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2007-03-31 07:08:40 +00:00
parent ce35f76a53
commit a122d24b2b

View file

@ -492,7 +492,7 @@ void lcd_puts_scroll_offset(int x, int y, const unsigned char *string,
lcd_puts_offset(x, y, string, offset); lcd_puts_offset(x, y, string, offset);
len = utf8length(string); len = utf8length(string);
if (LCD_WIDTH - xmargin < len) if (LCD_WIDTH - x - xmargin < len)
{ {
/* prepare scroll line */ /* prepare scroll line */
char *end; char *end;