diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gui/splash.c | 2 |
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) | |||
137 | 137 | ||
138 | #ifdef HAVE_LCD_BITMAP | 138 | #ifdef HAVE_LCD_BITMAP |
139 | 139 | ||
140 | vp.y = (vp.height - vp.y - y) / 2 - RECT_SPACING; /* height => y start position */ | 140 | vp.y += (vp.height - y) / 2 - RECT_SPACING; /* height => y start position */ |
141 | vp.x += (vp.width - maxw) / 2 - RECT_SPACING; | 141 | vp.x += (vp.width - maxw) / 2 - RECT_SPACING; |
142 | width = maxw + 2*RECT_SPACING; | 142 | width = maxw + 2*RECT_SPACING; |
143 | height = y + 2*RECT_SPACING; | 143 | height = y + 2*RECT_SPACING; |