Fix LCD status message padding

This commit is contained in:
Scott Lahteine 2017-06-07 16:06:25 -05:00
parent e556ab1dff
commit 707707d71a

View File

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