aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/grid.c
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2022-08-25 14:41:02 +0100
committerLewis Russell <lewis6991@gmail.com>2022-08-26 09:36:55 +0100
commit2498e9feb025361576603a0101c86393d211e31e (patch)
treeeec06181d28ca9ee9d0e8aa6042a84726d9be6f3 /src/nvim/grid.c
parent946c0aa66f7b52c406b2654b9869edcb79db5ada (diff)
downloadrneovim-2498e9feb025361576603a0101c86393d211e31e.tar.gz
rneovim-2498e9feb025361576603a0101c86393d211e31e.tar.bz2
rneovim-2498e9feb025361576603a0101c86393d211e31e.zip
refactor: change FALSE/TRUE to false/true
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'src/nvim/grid.c')
-rw-r--r--src/nvim/grid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/grid.c b/src/nvim/grid.c
index f95ef3e705..c805c238c6 100644
--- a/src/nvim/grid.c
+++ b/src/nvim/grid.c
@@ -475,9 +475,9 @@ static int grid_char_needs_redraw(ScreenGrid *grid, size_t off_from, size_t off_
/// "endcol" gives the columns where valid characters are.
/// "clear_width" is the width of the window. It's > 0 if the rest of the line
/// needs to be cleared, negative otherwise.
-/// "rlflag" is TRUE in a rightleft window:
-/// When TRUE and "clear_width" > 0, clear columns 0 to "endcol"
-/// When FALSE and "clear_width" > 0, clear columns "endcol" to "clear_width"
+/// "rlflag" is true in a rightleft window:
+/// When true and "clear_width" > 0, clear columns 0 to "endcol"
+/// When false and "clear_width" > 0, clear columns "endcol" to "clear_width"
/// If "wrap" is true, then hint to the UI that "row" contains a line
/// which has wrapped into the next row.
void grid_put_linebuf(ScreenGrid *grid, int row, int coloff, int endcol, int clear_width,