diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-12-02 00:50:49 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-12-02 00:50:49 +0000 |
commit | 943d2b5b80e81d2b089bd6ca391a5fcbaccdde24 (patch) | |
tree | 2e5f442f1d49ad0b2d62dd6be5f3e65022da7108 /src | |
parent | f4d1145328c9e234730f4f3cb45116ba46be1594 (diff) |
updated for version 7.0162v7.0162
Diffstat (limited to 'src')
-rw-r--r-- | src/memline.c | 3 | ||||
-rw-r--r-- | src/search.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/memline.c b/src/memline.c index 66331649cd..a2ec5b224d 100644 --- a/src/memline.c +++ b/src/memline.c @@ -4541,6 +4541,9 @@ goto_byte(cnt) { curwin->w_cursor.lnum = lnum; curwin->w_cursor.col = (colnr_T)boff; +# ifdef FEAT_VIRTUALEDIT + curwin->w_cursor.coladd = 0; +# endif curwin->w_set_curswant = TRUE; } check_cursor(); diff --git a/src/search.c b/src/search.c index 85689fc1ae..5311141dfb 100644 --- a/src/search.c +++ b/src/search.c @@ -5125,7 +5125,7 @@ read_viminfo_search_pattern(virp, force) int magic = FALSE; int no_scs = FALSE; int off_line = FALSE; - int off_end = FALSE; + int off_end = 0; long off = 0; int setlast = FALSE; #ifdef FEAT_SEARCH_EXTRA |