summaryrefslogtreecommitdiff
path: root/src/regexp.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-02-27 00:08:02 +0000
committerBram Moolenaar <Bram@vim.org>2006-02-27 00:08:02 +0000
commita23ccb8ac6c470d72eb3d081625926965d3a9f52 (patch)
tree16faa02ddbe83b3b1b35cafea7ea661e748cfbcd /src/regexp.c
parent1cad2925030b60643dfa9bf441da146ec6e7c014 (diff)
downloadvim-git-a23ccb8ac6c470d72eb3d081625926965d3a9f52.tar.gz
updated for version 7.0208
Diffstat (limited to 'src/regexp.c')
-rw-r--r--src/regexp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/regexp.c b/src/regexp.c
index 48bad944f..df5589c28 100644
--- a/src/regexp.c
+++ b/src/regexp.c
@@ -3861,17 +3861,17 @@ regmatch(scan)
}
else
{
- if (lt(curbuf->b_visual_start, curbuf->b_visual_end))
+ if (lt(curbuf->b_visual.vi_start, curbuf->b_visual.vi_end))
{
- top = curbuf->b_visual_start;
- bot = curbuf->b_visual_end;
+ top = curbuf->b_visual.vi_start;
+ bot = curbuf->b_visual.vi_end;
}
else
{
- top = curbuf->b_visual_end;
- bot = curbuf->b_visual_start;
+ top = curbuf->b_visual.vi_end;
+ bot = curbuf->b_visual.vi_start;
}
- mode = curbuf->b_visual_mode;
+ mode = curbuf->b_visual.vi_mode;
}
lnum = reglnum + reg_firstlnum;
col = (colnr_T)(reginput - regline);