ソースを参照

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
 

読み込み中…
キャンセル
保存