From 0d219b3e14f7ef8715f63f2c3c191b1c5193e826 Mon Sep 17 00:00:00 2001 From: AnHardt Date: Mon, 26 Jan 2015 16:00:10 +0100 Subject: [PATCH] Make centering of STRING_SPLASH work --- Marlin/dogm_lcd_implementation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/dogm_lcd_implementation.h b/Marlin/dogm_lcd_implementation.h index 6f595ce77..5908d7b43 100644 --- a/Marlin/dogm_lcd_implementation.h +++ b/Marlin/dogm_lcd_implementation.h @@ -118,7 +118,7 @@ static void lcd_implementation_init() // Show splashscreen int off = (u8g.getWidth() - START_BMPWIDTH) / 2; - int txtX = (u8g.getWidth() - sizeof(STRING_SPLASH) - 1) / 2; + int txtX = (u8g.getWidth() - (sizeof(STRING_SPLASH) - 1)*5) / 2; // 5 is fontwidth in pixel int txtY = u8g.getHeight() - 10; u8g.firstPage(); do {