summaryrefslogtreecommitdiff
path: root/src/drawline.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-03-27 20:58:37 +0100
committerBram Moolenaar <Bram@vim.org>2020-03-27 20:58:37 +0100
commit14285cb801c5ba965fdb89c44e8c27d912edfe4b (patch)
tree0fc6f519aab10916524e1943918115903c68924f /src/drawline.c
parent2d9d409ad4fab1ae7ceaecc0ef0e9b511d868374 (diff)
downloadvim-git-14285cb801c5ba965fdb89c44e8c27d912edfe4b.tar.gz
patch 8.2.0464: typos and other small problemsv8.2.0464
Problem: Typos and other small problems. Solution: Fix the typos. Add missing files to the distribution.
Diffstat (limited to 'src/drawline.c')
-rw-r--r--src/drawline.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drawline.c b/src/drawline.c
index 9f943e03a..1544dae28 100644
--- a/src/drawline.c
+++ b/src/drawline.c
@@ -270,7 +270,6 @@ win_line(
int tocol = MAXCOL; // end of inverting
int fromcol_prev = -2; // start of inverting after cursor
int noinvcur = FALSE; // don't invert the cursor
- pos_T *top, *bot;
int lnum_in_visual_area = FALSE;
pos_T pos;
long v;
@@ -535,6 +534,8 @@ win_line(
// handle Visual active in this window
if (VIsual_active && wp->w_buffer == curwin->w_buffer)
{
+ pos_T *top, *bot;
+
if (LTOREQ_POS(curwin->w_cursor, VIsual))
{
// Visual is after curwin->w_cursor