1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar
2014-12-13 03:17:11 +01:00
parent f1d6ccf2f9
commit cc2b9d5dc0
4 changed files with 27 additions and 6 deletions

View File

@@ -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;