diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-11-17 19:22:06 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-11-17 19:22:06 +0100 |
commit | 1efefda623283d941705d8f6ad0e9cfe0ac76079 (patch) | |
tree | 11f65c9eedac7ad7924c3b45e589e5cd2c0b2f7a /src/drawline.c | |
parent | 52bf81c2d5f0d57443a29525b68b88707f5ad87c (diff) | |
download | vim-git-1efefda623283d941705d8f6ad0e9cfe0ac76079.tar.gz |
patch 8.2.2003: build error with +conceal but without +popupwinv8.2.2003
Problem: Build error with +conceal but without +popupwin.
Solution: Add #ifdef. (Tom Ryder, closes #7316)
Diffstat (limited to 'src/drawline.c')
-rw-r--r-- | src/drawline.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/drawline.c b/src/drawline.c index fcca38a2e..0b9974216 100644 --- a/src/drawline.c +++ b/src/drawline.c @@ -2446,16 +2446,18 @@ win_line( && conceal_cursor_line(wp) && (int)wp->w_virtcol <= vcol + n_skip) { -# ifdef FEAT_RIGHTLEFT +# ifdef FEAT_RIGHTLEFT if (wp->w_p_rl) wp->w_wcol = wp->w_width - col + boguscols - 1; else -# endif +# endif wp->w_wcol = col - boguscols; wp->w_wrow = row; did_wcol = TRUE; curwin->w_valid |= VALID_WCOL|VALID_WROW|VALID_VIRTCOL; +# ifdef FEAT_PROP_POPUP curwin->w_flags &= ~(WFLAG_WCOL_OFF_ADDED | WFLAG_WROW_OFF_ADDED); +# endif } #endif |