summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-11-07 04:46:48 +0100
committerBram Moolenaar <Bram@vim.org>2013-11-07 04:46:48 +0100
commitfcea03ddd3dc54c8a0a786af5e75bbfbcf8fb3b7 (patch)
tree09e7a5fde1c42bc14347ba128b050555e9f0d7bb
parentc1c023ecfc19bc4ef3e24a43cbee3f4f54f5706b (diff)
updated for version 7.4.076v7.4.076
Problem: "cgn" does not wrap around the end of the file. (Dimitrov Dimitrov) Solution: Restore 'wrapscan' earlier. (Christian Brabandt)
-rw-r--r--src/search.c3
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/search.c b/src/search.c
index 5d02dd9e33..d517c60529 100644
--- a/src/search.c
+++ b/src/search.c
@@ -4592,7 +4592,7 @@ current_search(count, forward)
ml_get(curwin->w_buffer->b_ml.ml_line_count));
}
}
-
+ p_ws = old_p_ws;
}
start_pos = pos;
@@ -4607,7 +4607,6 @@ current_search(count, forward)
if (!VIsual_active)
VIsual = start_pos;
- p_ws = old_p_ws;
curwin->w_cursor = pos;
VIsual_active = TRUE;
VIsual_mode = 'v';
diff --git a/src/version.c b/src/version.c
index 4b7b68ce0a..770b3c8dba 100644
--- a/src/version.c
+++ b/src/version.c
@@ -739,6 +739,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 76,
+/**/
75,
/**/
74,