Browse Source

One more space on a short status message

pull/1/head
Scott Lahteine 7 years ago
parent
commit
93da4e83f7
  1. 4
      Marlin/ultralcd.cpp

4
Marlin/ultralcd.cpp

@ -4393,11 +4393,11 @@ void pad_message_string() {
// pad with spaces to fill up the line // pad with spaces to fill up the line
while (j++ < LCD_WIDTH) lcd_status_message[i++] = ' '; while (j++ < LCD_WIDTH) lcd_status_message[i++] = ' ';
// chop off at the edge // 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(); pad_message_string();

Loading…
Cancel
Save