]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.671 v7.4.671
authorBram Moolenaar <Bram@vim.org>
Sat, 21 Mar 2015 13:20:16 +0000 (14:20 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 21 Mar 2015 13:20:16 +0000 (14:20 +0100)
Problem:    Warning for shadowing a variable.
Solution:   Rename off to mb_off. (Kazunobu Kuriyama)

src/screen.c
src/version.c

index 4e1fb36e0f99e17c8a5906a76defd7234abdd45d..c215d4df550e0c759fcd14eb17adc7e08652e8a4 100644 (file)
@@ -4507,11 +4507,11 @@ win_line(wp, lnum, startrow, endrow, nochange)
                if (wp->w_p_lbr && vim_isbreak(c) && !vim_isbreak(*ptr))
                {
 # ifdef FEAT_MBYTE
-                   int off = has_mbyte ? (*mb_head_off)(line, ptr - 1) : 0;
+                   int mb_off = has_mbyte ? (*mb_head_off)(line, ptr - 1) : 0;
 # endif
                    char_u *p = ptr - (
 # ifdef FEAT_MBYTE
-                               off +
+                               mb_off +
 # endif
                                1);
 
@@ -4523,7 +4523,7 @@ win_line(wp, lnum, startrow, endrow, nochange)
                                       - vcol % (int)wp->w_buffer->b_p_ts - 1;
 
 # ifdef FEAT_MBYTE
-                   c_extra = off > 0 ? MB_FILLER_CHAR : ' ';
+                   c_extra = mb_off > 0 ? MB_FILLER_CHAR : ' ';
 # else
                    c_extra = ' ';
 # endif
index af86a17299131cc7fdfc66fdbd0155d00a85b01f..405b8a7cee08c7e49fcfa4986690faf2047f1c7e 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    671,
 /**/
     670,
 /**/