]> granicus.if.org Git - vim/commitdiff
updated for version 7.2-255 v7.2.255
authorBram Moolenaar <Bram@vim.org>
Fri, 11 Sep 2009 13:20:33 +0000 (13:20 +0000)
committerBram Moolenaar <Bram@vim.org>
Fri, 11 Sep 2009 13:20:33 +0000 (13:20 +0000)
src/option.c
src/version.c

index 0f69322c281459f79bed0d271bdee4761c7239c9..d680cfb1fd6d8c22ce3e0339e2a53397ada20b6b 100644 (file)
@@ -7430,6 +7430,8 @@ set_bool_option(opt_idx, varp, value, opt_flags)
     {
        if (curwin->w_p_wrap)
            curwin->w_leftcol = 0;
+       if (curwin->w_curswant != MAXCOL)
+           curwin->w_set_curswant = TRUE;
     }
 
 #ifdef FEAT_WINDOWS
@@ -7664,6 +7666,22 @@ set_bool_option(opt_idx, varp, value, opt_flags)
     }
 #endif
 
+#ifdef FEAT_LINEBREAK
+    if ((int *)varp == &curwin->w_p_lbr)
+    {
+       if (curwin->w_curswant != MAXCOL)
+           curwin->w_set_curswant = TRUE;
+    }
+#endif
+
+#ifdef FEAT_RIGHTLEFT
+    if ((int *)varp == &curwin->w_p_rl)
+    {
+       if (curwin->w_curswant != MAXCOL)
+           curwin->w_set_curswant = TRUE;
+    }
+#endif
+
     /*
      * End of handling side effects for bool options.
      */
index 612f715649973a5eb2b0a3b475d95b058035bc65..17a4d5f8f99550f53901ad068612b020f459c1d4 100644 (file)
@@ -676,6 +676,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    255,
 /**/
     254,
 /**/