forked from len0rd/rockbox
The splash() now doesn't try to output text at negative X positions. This fixes the playlist problems when using french language.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3607 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
272a505a61
commit
d6aa01bd90
1 changed files with 4 additions and 0 deletions
|
@ -562,7 +562,11 @@ void splash(int ticks, /* how long */
|
||||||
va_end( ap );
|
va_end( ap );
|
||||||
|
|
||||||
if(center)
|
if(center)
|
||||||
|
{
|
||||||
x = (LCD_WIDTH-widths[0])/2;
|
x = (LCD_WIDTH-widths[0])/2;
|
||||||
|
if(x < 0)
|
||||||
|
x = 0;
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef HAVE_LCD_BITMAP
|
#ifdef HAVE_LCD_BITMAP
|
||||||
/* If we center the display and it wouldn't cover the full screen,
|
/* If we center the display and it wouldn't cover the full screen,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue