瀏覽代碼

One more space on a short status message

Scott Lahteine 7 年之前
父節點
當前提交
93da4e83f7
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      Marlin/ultralcd.cpp

+ 2
- 2
Marlin/ultralcd.cpp 查看文件

@@ -4393,11 +4393,11 @@ void pad_message_string() {
4393 4393
     // pad with spaces to fill up the line
4394 4394
     while (j++ < LCD_WIDTH) lcd_status_message[i++] = ' ';
4395 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 4402
   pad_message_string();
4403 4403
 

Loading…
取消
儲存