Fix LCD status message padding
This commit is contained in:
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…
Reference in a new issue