diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2014-06-12 20:13:52 -0400 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2014-06-12 20:13:52 -0400 |
| commit | 168575f3f73f79185db0abdb91be364c0d0f29f9 (patch) | |
| tree | c9bbf386710d6c57021e03811b2483bcd574812f /src/nvim/search.c | |
| parent | 284a38a065f6cedd37f8f7d75c1953884653503c (diff) | |
| parent | 1ff8ed7b823623e9abd224f78fbce7e20ce66f5d (diff) | |
| download | rneovim-168575f3f73f79185db0abdb91be364c0d0f29f9.tar.gz rneovim-168575f3f73f79185db0abdb91be364c0d0f29f9.tar.bz2 rneovim-168575f3f73f79185db0abdb91be364c0d0f29f9.zip | |
Merge #774 'Move defines from vim.h to other header files'
Diffstat (limited to 'src/nvim/search.c')
| -rw-r--r-- | src/nvim/search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/search.c b/src/nvim/search.c index 08fdfa4b63..af43f356e0 100644 --- a/src/nvim/search.c +++ b/src/nvim/search.c @@ -2022,7 +2022,7 @@ showmatch ( if (!curwin->w_p_wrap) getvcol(curwin, lpos, NULL, &vcol, NULL); if (curwin->w_p_wrap || (vcol >= curwin->w_leftcol - && vcol < curwin->w_leftcol + W_WIDTH(curwin))) { + && vcol < curwin->w_leftcol + curwin->w_width)) { mpos = *lpos; /* save the pos, update_screen() may change it */ save_cursor = curwin->w_cursor; save_so = p_so; |
