summaryrefslogtreecommitdiff
path: root/src/search.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-12-13 03:17:11 +0100
committerBram Moolenaar <Bram@vim.org>2014-12-13 03:17:11 +0100
commitcc2b9d5dc08cefa0342a25ece71b21d4b4b32e00 (patch)
tree6034465936f933c63ccd81d791e8425dd1142843 /src/search.c
parentf1d6ccf2f9c8a8ae2c0ec4577946397c103ead2b (diff)
downloadvim-git-cc2b9d5dc08cefa0342a25ece71b21d4b4b32e00.tar.gz
updated for version 7.4.543v7.4.543
Problem: Since patch 7.4.232 "1,3s/\n//" joins two lines instead of three. (Eliseo Martínez) Issue 287 Solution: Correct the line count. (Christian Brabandt) Also set the last used search pattern.
Diffstat (limited to 'src/search.c')
-rw-r--r--src/search.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/search.c b/src/search.c
index 047a73397..b64b8f6ce 100644
--- a/src/search.c
+++ b/src/search.c
@@ -12,7 +12,6 @@
#include "vim.h"
-static void save_re_pat __ARGS((int idx, char_u *pat, int magic));
#ifdef FEAT_EVAL
static void set_vv_searchforward __ARGS((void));
static int first_submatch __ARGS((regmmatch_T *rp));
@@ -272,7 +271,7 @@ reverse_text(s)
}
#endif
- static void
+ void
save_re_pat(idx, pat, magic)
int idx;
char_u *pat;