Browse Source

Fix LCD status message padding

Scott Lahteine 8 years ago
parent
commit
707707d71a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/ultralcd.cpp

+ 1
- 1
Marlin/ultralcd.cpp View File

4165
     // pad with spaces to fill up the line
4165
     // pad with spaces to fill up the line
4166
     while (j++ < LCD_WIDTH) lcd_status_message[i++] = ' ';
4166
     while (j++ < LCD_WIDTH) lcd_status_message[i++] = ' ';
4167
     // chop off at the edge
4167
     // chop off at the edge
4168
-    lcd_status_message[i] = '\0';
4168
+    lcd_status_message[--i] = '\0';
4169
   }
4169
   }
4170
 }
4170
 }
4171
 
4171
 

Loading…
Cancel
Save