|
@@ -758,8 +758,9 @@ static void lcd_implementation_status_screen() {
|
758
|
758
|
|
759
|
759
|
void lcd_implementation_drawedit(const char* const pstr, const char* const value=NULL) {
|
760
|
760
|
const uint8_t labellen = lcd_strlen_P(pstr),
|
761
|
|
- vallen = lcd_strlen(value),
|
762
|
|
- rows = (labellen > LCD_WIDTH - 2 - vallen) ? 2 : 1;
|
|
761
|
+ vallen = lcd_strlen(value);
|
|
762
|
+
|
|
763
|
+ uint8_t rows = (labellen > LCD_WIDTH - 2 - vallen) ? 2 : 1;
|
763
|
764
|
|
764
|
765
|
#if ENABLED(USE_BIG_EDIT_FONT)
|
765
|
766
|
uint8_t lcd_width, char_width;
|