summaryrefslogtreecommitdiff
path: root/src/edit.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-09 20:51:04 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-09 20:51:04 +0100
commitae12f4bad306a1a3a2d54ff6ed76df9b11d19469 (patch)
tree7ebc794adeeb121202d382ed689c149af54022ee /src/edit.c
parent663bc89bbb8158bd0888f7d7228b2dbc6bbd4802 (diff)
downloadvim-git-ae12f4bad306a1a3a2d54ff6ed76df9b11d19469.tar.gz
patch 8.1.0708: third argument for redrawWinline() is always FALSEv8.1.0708
Problem: Third argument for redrawWinline() is always FALSE. Solution: Drop the argument. (neovim #9479)
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/edit.c b/src/edit.c
index 813e95d34..bd840d147 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -1955,7 +1955,7 @@ edit_unputchar(void)
if (pc_status == PC_STATUS_RIGHT)
++curwin->w_wcol;
if (pc_status == PC_STATUS_RIGHT || pc_status == PC_STATUS_LEFT)
- redrawWinline(curwin, curwin->w_cursor.lnum, FALSE);
+ redrawWinline(curwin, curwin->w_cursor.lnum);
else
#endif
screen_puts(pc_bytes, pc_row - msg_scrolled, pc_col, pc_attr);
@@ -2006,7 +2006,7 @@ undisplay_dollar(void)
if (dollar_vcol >= 0)
{
dollar_vcol = -1;
- redrawWinline(curwin, curwin->w_cursor.lnum, FALSE);
+ redrawWinline(curwin, curwin->w_cursor.lnum);
}
}
@@ -7074,7 +7074,7 @@ check_spell_redraw(void)
linenr_T lnum = spell_redraw_lnum;
spell_redraw_lnum = 0;
- redrawWinline(curwin, lnum, FALSE);
+ redrawWinline(curwin, lnum);
}
}