splash.c: correct calculation of y coordinate of splash.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26108 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3637ccbffc
commit
4862fe4451
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue