Browse Source

One more space on a short status message

Scott Lahteine 7 years ago
parent
commit
93da4e83f7
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/ultralcd.cpp

+ 2
- 2
Marlin/ultralcd.cpp View File

4393
     // pad with spaces to fill up the line
4393
     // pad with spaces to fill up the line
4394
     while (j++ < LCD_WIDTH) lcd_status_message[i++] = ' ';
4394
     while (j++ < LCD_WIDTH) lcd_status_message[i++] = ' ';
4395
     // chop off at the edge
4395
     // chop off at the edge
4396
-    lcd_status_message[--i] = '\0';
4396
+    lcd_status_message[i] = '\0';
4397
   }
4397
   }
4398
 }
4398
 }
4399
 
4399
 
4400
-void lcd_finishstatus(bool persist=false) {
4400
+void lcd_finishstatus(const bool persist=false) {
4401
 
4401
 
4402
   pad_message_string();
4402
   pad_message_string();
4403
 
4403
 

Loading…
Cancel
Save