mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 05:48:17 +00:00
screen: Silence “buffer underflow” warning
This commit is contained in:
@@ -2447,7 +2447,7 @@ win_line (
|
|||||||
} else {
|
} else {
|
||||||
/* Long line, use only the last SPWORDLEN bytes. */
|
/* Long line, use only the last SPWORDLEN bytes. */
|
||||||
nextlinecol = v - SPWORDLEN;
|
nextlinecol = v - SPWORDLEN;
|
||||||
memmove(nextline, line + nextlinecol, SPWORDLEN);
|
memmove(nextline, line + nextlinecol, SPWORDLEN); // -V512
|
||||||
nextline_idx = SPWORDLEN + 1;
|
nextline_idx = SPWORDLEN + 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user