Fix LCD status message padding

2.0.x
Scott Lahteine 8 years ago
parent e556ab1dff
commit 707707d71a

@ -4165,7 +4165,7 @@ void pad_message_string() {
// pad with spaces to fill up the line
while (j++ < LCD_WIDTH) lcd_status_message[i++] = ' ';
// chop off at the edge
lcd_status_message[i] = '\0';
lcd_status_message[--i] = '\0';
}
}

Loading…
Cancel
Save