diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-04-29 10:38:03 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-04-29 10:38:03 +0000 |
| commit | 4c03e9a6f0f40cf8d0ffed0d2f35fafdab143738 (patch) | |
| tree | 79bd5be463818276a9a99cfac27f680b74abfe7b /apps | |
| parent | 886ecaa7a48f33a3fb124b53253b3a5602bbc920 (diff) | |
| download | rockbox-4c03e9a6f0f40cf8d0ffed0d2f35fafdab143738.zip rockbox-4c03e9a6f0f40cf8d0ffed0d2f35fafdab143738.tar.gz rockbox-4c03e9a6f0f40cf8d0ffed0d2f35fafdab143738.tar.bz2 rockbox-4c03e9a6f0f40cf8d0ffed0d2f35fafdab143738.tar.xz | |
fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25756 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/gui/splash.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/gui/splash.c b/apps/gui/splash.c index 958d19a..fc39621 100644 --- a/apps/gui/splash.c +++ b/apps/gui/splash.c @@ -58,9 +58,9 @@ static void splash_internal(struct screen * screen, const char *fmt, va_list ap) int x = 0; int y, i; int space_w, w, h; - int width, height; -#ifdef HAVE_LCD_BITMAP struct viewport vp; +#ifdef HAVE_LCD_BITMAP + int width, height; int maxw = 0; viewport_set_defaults(&vp, screen->screen_type); @@ -68,6 +68,8 @@ static void splash_internal(struct screen * screen, const char *fmt, va_list ap) screen->getstringsize(" ", &space_w, &h); #else /* HAVE_LCD_CHARCELLS */ + vp.width = screen->lcdwidth; + vp.height = screen->lcdheight; space_w = h = 1; screen->double_height (false); |