]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.076 v7.4.076
authorBram Moolenaar <Bram@vim.org>
Thu, 7 Nov 2013 03:46:48 +0000 (04:46 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 7 Nov 2013 03:46:48 +0000 (04:46 +0100)
Problem:    "cgn" does not wrap around the end of the file. (Dimitrov
            Dimitrov)
Solution:   Restore 'wrapscan' earlier. (Christian Brabandt)

src/search.c
src/version.c

index 5d02dd9e3344df060df27503570c87ebd0bb83e4..d517c60529c9de9f2620c7dbf40325fedf15a454 100644 (file)
@@ -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';
index 4b7b68ce0ae6d19e76b65e61705496ed36345583..770b3c8dba3d5c939bace2c8a333efb1d14da28f 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    76,
 /**/
     75,
 /**/