summaryrefslogtreecommitdiff
path: root/lcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lcd.c')
-rw-r--r--lcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lcd.c b/lcd.c
index d98c0b0..7079aad 100644
--- a/lcd.c
+++ b/lcd.c
@@ -212,7 +212,7 @@ void LCD_write_padded_spaces(int row, int col, char *LCD_string, int width)
void LCD_write_padded_to_end_of_line(int row, int col, char *LCD_string)
{
- LCD_write_padded_spaces (row, col, LCD_string, LCD_cols - col - strlen (LCD_string));
+ LCD_write_padded_spaces (row, col, LCD_string, LCD_cols - col);
}