From 4862fe4451e3cf17f1c0e369991c37150d9ba560 Mon Sep 17 00:00:00 2001 From: Teruaki Kawashima Date: Mon, 17 May 2010 14:09:35 +0000 Subject: [PATCH] splash.c: correct calculation of y coordinate of splash. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26108 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/splash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/gui/splash.c b/apps/gui/splash.c index 09d57f5b26..aa03e2e2db 100644 --- a/apps/gui/splash.c +++ b/apps/gui/splash.c @@ -137,7 +137,7 @@ static void splash_internal(struct screen * screen, const char *fmt, va_list ap) #ifdef HAVE_LCD_BITMAP - vp.y = (vp.height - vp.y - y) / 2 - RECT_SPACING; /* height => y start position */ + vp.y += (vp.height - y) / 2 - RECT_SPACING; /* height => y start position */ vp.x += (vp.width - maxw) / 2 - RECT_SPACING; width = maxw + 2*RECT_SPACING; height = y + 2*RECT_SPACING;