Mercurial > vim
diff src/screen.c @ 28386:cf41a1f469f6 v8.2.4718
patch 8.2.4718: @@@ in the last line sometimes drawn in the wrong place
Commit: https://github.com/vim/vim/commit/cee9c844f27bceaba90362a3fa27a04d4d06c0fd
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 9 12:40:13 2022 +0100
patch 8.2.4718: @@@ in the last line sometimes drawn in the wrong place
Problem: @@@ in the last line sometimes drawn in the wrong place.
Solution: Make sure the column is valid. (closes https://github.com/vim/vim/issues/10130)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 09 Apr 2022 13:45:02 +0200 |
parents | 8f92524d4556 |
children | d770568e6c98 |
line wrap: on
line diff
--- a/src/screen.c +++ b/src/screen.c @@ -2331,9 +2331,9 @@ space_to_screenline(int off, int attr) } /* - * Fill the screen from 'start_row' to 'end_row', from 'start_col' to 'end_col' - * with character 'c1' in first column followed by 'c2' in the other columns. - * Use attributes 'attr'. + * Fill the screen from "start_row" to "end_row" (exclusive), from "start_col" + * to "end_col" (exclusive) with character "c1" in first column followed by + * "c2" in the other columns. Use attributes "attr". */ void screen_fill(