diff options
Diffstat (limited to 'lib/libcurses/insertln.c')
-rw-r--r-- | lib/libcurses/insertln.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcurses/insertln.c b/lib/libcurses/insertln.c index 4de367eb2685..ce713caa81da 100644 --- a/lib/libcurses/insertln.c +++ b/lib/libcurses/insertln.c @@ -62,8 +62,8 @@ winsertln(win) if (win->orig == NULL) win->lines[y] = win->lines[y - 1]; else - (void)memcpy(win->lines[y]->line, - win->lines[y - 1]->line, + (void)memcpy(win->lines[y]->line, + win->lines[y - 1]->line, win->maxx * __LDATASIZE); __touchline(win, y, 0, win->maxx - 1, 0); } |