diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-06-04 10:49:02 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-04 10:49:02 +0800 |
commit | fdc8e966a9183c08f2afec0817d03b7417a883b3 (patch) | |
tree | 20c9be6adc18ba5d6a5717b0236ee56256dbc577 /src/nvim/ui_compositor.c | |
parent | 700cab00680fa25e0dbdf6f91f638f4da5a09909 (diff) | |
download | rneovim-fdc8e966a9183c08f2afec0817d03b7417a883b3.tar.gz rneovim-fdc8e966a9183c08f2afec0817d03b7417a883b3.tar.bz2 rneovim-fdc8e966a9183c08f2afec0817d03b7417a883b3.zip |
fix(ui): don't send empty grid_line with redrawdebug=compositor (#23899)
Diffstat (limited to 'src/nvim/ui_compositor.c')
-rw-r--r-- | src/nvim/ui_compositor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ui_compositor.c b/src/nvim/ui_compositor.c index e38c1437dc..59e9f71a69 100644 --- a/src/nvim/ui_compositor.c +++ b/src/nvim/ui_compositor.c @@ -439,7 +439,7 @@ static void compose_line(Integer row, Integer startcol, Integer endcol, LineFlag static void compose_debug(Integer startrow, Integer endrow, Integer startcol, Integer endcol, int syn_id, bool delay) { - if (!(rdb_flags & RDB_COMPOSITOR)) { + if (!(rdb_flags & RDB_COMPOSITOR) || startcol >= endcol) { return; } |