diff options
Diffstat (limited to 'include/lcdlib.c')
| -rw-r--r-- | include/lcdlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lcdlib.c b/include/lcdlib.c index a22a1e2..ea47062 100644 --- a/include/lcdlib.c +++ b/include/lcdlib.c @@ -44,7 +44,7 @@ lcd_put_line(const enum LCD_WRITE_MODE mode, const char *line) { // previous string there fprintf(lcd, "%sy%dx0;%sk%s", esc, y-1, esc, previous_lines[y]); // Overwrite the stored previous line with the next - strncpy(previous_lines[y-1], previous_lines[y], 16); + strncpy(previous_lines[y-1], previous_lines[y], 17); } line_idx--; } |
