diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-02-27 00:11:10 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-02-27 00:11:10 +0000 |
commit | eddf53b02e2b007208b19c74fb616be2c0839b36 (patch) | |
tree | b7b2bdc89dcd35bf68f4f7a5801152cc9424b8dd /src/menu.c | |
parent | a23ccb8ac6c470d72eb3d081625926965d3a9f52 (diff) | |
download | vim-eddf53b02e2b007208b19c74fb616be2c0839b36.zip |
updated for version 7.0208
Diffstat (limited to 'src/menu.c')
-rw-r--r-- | src/menu.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/menu.c b/src/menu.c index 20832c658..088c822dc 100644 --- a/src/menu.c +++ b/src/menu.c @@ -2129,14 +2129,14 @@ ex_emenu(eap) * quick way of detecting whether we are doing this from a * selection - see if the range matches up with the visual * select start and end. */ - if ((curbuf->b_visual_start.lnum == eap->line1) - && (curbuf->b_visual_end.lnum) == eap->line2) + if ((curbuf->b_visual.vi_start.lnum == eap->line1) + && (curbuf->b_visual.vi_end.lnum) == eap->line2) { /* Set it up for visual mode - equivalent to gv. */ - VIsual_mode = curbuf->b_visual_mode; - tpos = curbuf->b_visual_end; - curwin->w_cursor = curbuf->b_visual_start; - curwin->w_curswant = curbuf->b_visual_curswant; + VIsual_mode = curbuf->b_visual.vi_mode; + tpos = curbuf->b_visual.vi_end; + curwin->w_cursor = curbuf->b_visual.vi_start; + curwin->w_curswant = curbuf->b_visual.vi_curswant; } else { |