From 35800eec0254d401aa42175f12135aa656e86bb0 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Tue, 20 Feb 2018 06:42:08 -0600 Subject: [PATCH] Fix big edit font width calculation Fix #9685 --- Marlin/ultralcd_impl_DOGM.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/ultralcd_impl_DOGM.h b/Marlin/ultralcd_impl_DOGM.h index 4d0121705..54921f665 100644 --- a/Marlin/ultralcd_impl_DOGM.h +++ b/Marlin/ultralcd_impl_DOGM.h @@ -923,7 +923,7 @@ static void lcd_implementation_status_screen() { uint8_t rows = (labellen > LCD_WIDTH - 2 - vallen) ? 2 : 1; #if ENABLED(USE_BIG_EDIT_FONT) - constexpr uint8_t lcd_width_edit = (LCD_WIDTH) / (DOG_CHAR_WIDTH_EDIT); + constexpr uint8_t lcd_width_edit = (LCD_PIXEL_WIDTH) / (DOG_CHAR_WIDTH_EDIT); uint8_t lcd_width, char_width; if (labellen <= lcd_width_edit - 1) {