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:
parent
ce35f76a53
commit
a122d24b2b
1 changed files with 1 additions and 1 deletions
|
|
@ -492,7 +492,7 @@ void lcd_puts_scroll_offset(int x, int y, const unsigned char *string,
|
|||
lcd_puts_offset(x, y, string, offset);
|
||||
len = utf8length(string);
|
||||
|
||||
if (LCD_WIDTH - xmargin < len)
|
||||
if (LCD_WIDTH - x - xmargin < len)
|
||||
{
|
||||
/* prepare scroll line */
|
||||
char *end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue