forked from aniani/vim
updated for version 7.0066
This commit is contained in:
6
src/ui.c
6
src/ui.c
@@ -2800,7 +2800,11 @@ mouse_comp_pos(win, rowp, colp, lnump)
|
||||
{
|
||||
#ifdef FEAT_DIFF
|
||||
/* Don't include filler lines in "count" */
|
||||
if (win->w_p_diff && !hasFoldingWin(win, lnum, NULL, NULL, TRUE, NULL))
|
||||
if (win->w_p_diff
|
||||
# ifdef FEAT_FOLDING
|
||||
&& !hasFoldingWin(win, lnum, NULL, NULL, TRUE, NULL)
|
||||
# endif
|
||||
)
|
||||
{
|
||||
if (lnum == win->w_topline)
|
||||
row -= win->w_topfill;
|
||||
|
Reference in New Issue
Block a user