summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-04-09 12:40:13 +0100
committerBram Moolenaar <Bram@vim.org>2022-04-09 12:40:13 +0100
commitcee9c844f27bceaba90362a3fa27a04d4d06c0fd (patch)
tree1904095957e43d03004d20826b501e258de0a823 /src/screen.c
parenta016eeba7a5777ba1f2ec2dbcda7c96823bf9ab1 (diff)
downloadvim-git-cee9c844f27bceaba90362a3fa27a04d4d06c0fd.tar.gz
patch 8.2.4718: @@@ in the last line sometimes drawn in the wrong placev8.2.4718
Problem: @@@ in the last line sometimes drawn in the wrong place. Solution: Make sure the column is valid. (closes #10130)
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screen.c b/src/screen.c
index 7caf2995f..1a5cb1556 100644
--- 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(