diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-26 17:28:26 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-26 17:28:26 +0100 |
commit | 29ddebef4038d2d2b3bc9d8d3b0109f4046d6fbf (patch) | |
tree | 66144403e05268df8594b01d0298db4f570ed60f /src/gui.c | |
parent | 3e460fd8b72db905fbf9f01b00371384ffc415b8 (diff) | |
download | vim-git-29ddebef4038d2d2b3bc9d8d3b0109f4046d6fbf.tar.gz |
patch 8.1.0826: too many #ifdefsv8.1.0826
Problem: Too many #ifdefs.
Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
Diffstat (limited to 'src/gui.c')
-rw-r--r-- | src/gui.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -4599,14 +4599,12 @@ gui_update_horiz_scrollbar(int force) longest_lnum = gui_find_longest_lnum(); max = scroll_line_len(longest_lnum); -#ifdef FEAT_VIRTUALEDIT if (virtual_active()) { /* May move the cursor even further to the right. */ if (curwin->w_virtcol >= (colnr_T)max) max = curwin->w_virtcol; } -#endif #ifndef SCROLL_PAST_END max += curwin->w_width - 1; |