]> granicus.if.org Git - vim/commitdiff
updated for version 7.1-242 v7.1.242
authorBram Moolenaar <Bram@vim.org>
Sat, 26 Jan 2008 20:15:46 +0000 (20:15 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 26 Jan 2008 20:15:46 +0000 (20:15 +0000)
src/search.c
src/version.c

index 4bbd3c33b3cdb8126cb1e50ac8bbb06087bd2082..1ad1df31f338b7a6fa2f6d715cfaf7e37f5ae0d7 100644 (file)
@@ -3637,7 +3637,7 @@ current_block(oap, count, include, what, other)
        oap->inclusive = FALSE;
        if (sol)
            incl(&curwin->w_cursor);
-       else if (lt(start_pos, curwin->w_cursor))
+       else if (ltoreq(start_pos, curwin->w_cursor))
            /* Include the character under the cursor. */
            oap->inclusive = TRUE;
        else
@@ -3754,6 +3754,10 @@ current_tagblock(oap, count_arg, include)
     old_pos = curwin->w_cursor;
     old_end = curwin->w_cursor;                    /* remember where we started */
     old_start = old_end;
+#ifdef FEAT_VISUAL
+    if (!VIsual_active || *p_sel == 'e')
+#endif
+       decl(&old_end);                     /* old_end is inclusive */
 
     /*
      * If we start on "<aaa>" select that block.
index b8e6a04a8cc624d4345eab1ec2a4f95e67fe4042..7d703482ae3276fb661dedd14f9e17d052a70259 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    242,
 /**/
     241,
 /**/