updated for version 7.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.
diff --git a/src/search.c b/src/search.c
index 047a733..b64b8f6 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 @@
}
#endif
- static void
+ void
save_re_pat(idx, pat, magic)
int idx;
char_u *pat;