Fix LCD status message padding
This commit is contained in:
parent
e556ab1dff
commit
707707d71a
1 changed files with 1 additions and 1 deletions
|
@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue