diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-03-23 15:13:05 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-03-23 15:13:05 +0100 |
commit | f7ff6e85e8a4e84cff023f5db4b66ef85986605a (patch) | |
tree | 813913a9c1d1418b5b85e3a4bc414dbeb2b3f6a3 /src/charset.c | |
parent | a68783751647e3243ca6f22df62907efbdbccb02 (diff) | |
download | vim-git-f7ff6e85e8a4e84cff023f5db4b66ef85986605a.tar.gz |
updated for version 7.4.212v7.4.212
Problem: Now that the +visual feature is always enabled the #ifdefs for it
are not useful.
Solution: Remove the checks for FEAT_VISUAL.
Diffstat (limited to 'src/charset.c')
-rw-r--r-- | src/charset.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/charset.c b/src/charset.c index fd4b500be..61a56f653 100644 --- a/src/charset.c +++ b/src/charset.c @@ -1380,10 +1380,7 @@ getvcol(wp, pos, start, cursor, end) && (State & NORMAL) && !wp->w_p_list && !virtual_active() -#ifdef FEAT_VISUAL - && !(VIsual_active - && (*p_sel == 'e' || ltoreq(*pos, VIsual))) -#endif + && !(VIsual_active && (*p_sel == 'e' || ltoreq(*pos, VIsual))) ) *cursor = vcol + incr - 1; /* cursor at end */ else @@ -1463,7 +1460,6 @@ getvvcol(wp, pos, start, cursor, end) } #endif -#if defined(FEAT_VISUAL) || defined(PROTO) /* * Get the leftmost and rightmost virtual column of pos1 and pos2. * Used for Visual block mode. @@ -1500,7 +1496,6 @@ getvcols(wp, pos1, pos2, left, right) else *right = to1; } -#endif /* * skipwhite: skip over ' ' and '\t'. |