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