aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/screen.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-01-21 02:35:15 -0500
committerJustin M. Keyes <justinkz@gmail.com>2016-01-21 02:35:15 -0500
commitbcbcf235f61bd75f965f35897784ea618fe7acb8 (patch)
tree029b0d6453fff1e92e9cdcd866eef49595fe93f1 /src/nvim/screen.c
parent5bfbf968dd9460398423c8c39868c07f863cd13f (diff)
parenta118abca77a620dc848991380470576300f27680 (diff)
downloadrneovim-bcbcf235f61bd75f965f35897784ea618fe7acb8.tar.gz
rneovim-bcbcf235f61bd75f965f35897784ea618fe7acb8.tar.bz2
rneovim-bcbcf235f61bd75f965f35897784ea618fe7acb8.zip
Merge pull request #4012 from jbradaric/vim-7.4.729
vim-patch:7.4.729
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r--src/nvim/screen.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index 58a9c011b8..9a64a7c3a9 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -3489,11 +3489,11 @@ win_line (
&& !(noinvcur
&& lnum == wp->w_cursor.lnum
&& (colnr_T)vcol == wp->w_virtcol)))
- && lcs_eol_one >= 0) {
- /* Display a '$' after the line or highlight an extra
- * character if the line break is included. */
- /* For a diff line the highlighting continues after the
- * "$". */
+ && lcs_eol_one > 0) {
+ // Display a '$' after the line or highlight an extra
+ // character if the line break is included.
+ // For a diff line the highlighting continues after the
+ // "$".
if (diff_hlf == (hlf_T)0 && line_attr == 0) {
/* In virtualedit, visual selections may extend
* beyond end of line. */