summaryrefslogtreecommitdiffstats
path: root/apps/gui/splash.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/splash.c')
-rw-r--r--apps/gui/splash.c2
1 files changed, 1 insertions, 1 deletions
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;