diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2003-04-25 01:25:44 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2003-04-25 01:25:44 +0000 |
| commit | d6aa01bd90afbf41a2ecbc43813536d50faddcee (patch) | |
| tree | 7497c08dcee8dbba2da07de266700fe32a9f1241 /apps | |
| parent | 272a505a610628d639da7dac58cd4d4c58ff59cb (diff) | |
| download | rockbox-d6aa01bd90afbf41a2ecbc43813536d50faddcee.zip rockbox-d6aa01bd90afbf41a2ecbc43813536d50faddcee.tar.gz rockbox-d6aa01bd90afbf41a2ecbc43813536d50faddcee.tar.bz2 rockbox-d6aa01bd90afbf41a2ecbc43813536d50faddcee.tar.xz | |
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
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/screens.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/screens.c b/apps/screens.c index 87a9869..79f07f9 100644 --- a/apps/screens.c +++ b/apps/screens.c @@ -562,7 +562,11 @@ void splash(int ticks, /* how long */ va_end( ap ); if(center) + { x = (LCD_WIDTH-widths[0])/2; + if(x < 0) + x = 0; + } #ifdef HAVE_LCD_BITMAP /* If we center the display and it wouldn't cover the full screen, |