From cd1b18c4e87c0de1a5396ca5554ac8a7890d49c9 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 31 Dec 1999 20:01:39 -0500 Subject: more elegant mode_name array handling --- lcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lcd.c') 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); } -- cgit