Browse Source

Fix LCD status message padding

pull/1/head
Scott Lahteine 8 years ago
parent
commit
707707d71a
  1. 2
      Marlin/ultralcd.cpp

2
Marlin/ultralcd.cpp

@ -4165,7 +4165,7 @@ 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';
} }
} }

Loading…
Cancel
Save