diff options
| author | tslil clingman <tslil@posteo.de> | 2021-01-22 11:19:28 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-28 19:37:41 +0100 |
| commit | 703c875144bb365e6448b41493aa0d6615e10520 (patch) | |
| tree | d2d8e993ca6eee7c448cad7764fa5fe0b7e650a6 /include | |
| parent | 14edf3fa605d68601d154df57afb87ec2140cd03 (diff) | |
Thanks compile warnings!
Diffstat (limited to 'include')
| -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--; } |
