diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-07-07 00:33:20 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-07-07 00:33:57 +0200 |
commit | 1ae7744f42fe60ebc2caa383be4d17e714c71c5f (patch) | |
tree | af405450d4a56deadafaf4aff07b38f254a5cc01 /src/nvim/screen.c | |
parent | 852f21ed0587195fa1b1f2cf0b3b89e6cb03e676 (diff) | |
download | rneovim-1ae7744f42fe60ebc2caa383be4d17e714c71c5f.tar.gz rneovim-1ae7744f42fe60ebc2caa383be4d17e714c71c5f.tar.bz2 rneovim-1ae7744f42fe60ebc2caa383be4d17e714c71c5f.zip |
lint
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r-- | src/nvim/screen.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index e8cd6b4e9c..537b13f33d 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -5824,13 +5824,12 @@ static void screen_char(unsigned off, int row, int col) if (row >= screen_Rows || col >= screen_Columns) return; - /* Outputting the last character on the screen may scrollup the screen. - * Don't to it! Mark the character invalid (update it when scrolled up) - * FIXME: The premise here is not actually true. c.f. deferred wrap */ + // Outputting the last character on the screen may scrollup the screen. + // Don't to it! Mark the character invalid (update it when scrolled up) + // FIXME: The premise here is not actually true (cf. deferred wrap). if (row == screen_Rows - 1 && col == screen_Columns - 1 - /* account for first command-line character in rightleft mode */ - && !cmdmsg_rl - ) { + // account for first command-line character in rightleft mode + && !cmdmsg_rl) { ScreenAttrs[off] = (sattr_T)-1; return; } |