One more space on a short status message

master
Scott Lahteine 8 years ago
parent 43c96eb31f
commit 93da4e83f7

@ -4393,11 +4393,11 @@ 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';
}
}
void lcd_finishstatus(bool persist=false) {
void lcd_finishstatus(const bool persist=false) {
pad_message_string();

Loading…
Cancel
Save