1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 13:56:24 +00:00

One more space on a short status message

This commit is contained in:
Scott Lahteine 2017-06-15 20:48:07 -05:00
parent 43c96eb31f
commit 93da4e83f7

View File

@ -4393,11 +4393,11 @@ 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';
}
}
void lcd_finishstatus(bool persist=false) {
void lcd_finishstatus(const bool persist=false) {
pad_message_string();