summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-04-29 10:38:03 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-04-29 10:38:03 +0000
commit4c03e9a6f0f40cf8d0ffed0d2f35fafdab143738 (patch)
tree79bd5be463818276a9a99cfac27f680b74abfe7b
parent886ecaa7a48f33a3fb124b53253b3a5602bbc920 (diff)
downloadrockbox-4c03e9a6f0f40cf8d0ffed0d2f35fafdab143738.tar.gz
rockbox-4c03e9a6f0f40cf8d0ffed0d2f35fafdab143738.zip
fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25756 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/splash.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/gui/splash.c b/apps/gui/splash.c
index 958d19a2ff..fc39621885 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)
58 int x = 0; 58 int x = 0;
59 int y, i; 59 int y, i;
60 int space_w, w, h; 60 int space_w, w, h;
61 int width, height;
62#ifdef HAVE_LCD_BITMAP
63 struct viewport vp; 61 struct viewport vp;
62#ifdef HAVE_LCD_BITMAP
63 int width, height;
64 int maxw = 0; 64 int maxw = 0;
65 65
66 viewport_set_defaults(&vp, screen->screen_type); 66 viewport_set_defaults(&vp, screen->screen_type);
@@ -68,6 +68,8 @@ static void splash_internal(struct screen * screen, const char *fmt, va_list ap)
68 68
69 screen->getstringsize(" ", &space_w, &h); 69 screen->getstringsize(" ", &space_w, &h);
70#else /* HAVE_LCD_CHARCELLS */ 70#else /* HAVE_LCD_CHARCELLS */
71 vp.width = screen->lcdwidth;
72 vp.height = screen->lcdheight;
71 73
72 space_w = h = 1; 74 space_w = h = 1;
73 screen->double_height (false); 75 screen->double_height (false);