]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.355 v7.3.355
authorBram Moolenaar <Bram@vim.org>
Wed, 30 Nov 2011 10:31:30 +0000 (11:31 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 30 Nov 2011 10:31:30 +0000 (11:31 +0100)
Problem:    GTK warnings when using netrw.vim. (Ivan Krasilnikov)
Solution:   Do not remove the beval event handler twice.

src/option.c
src/version.c

index b8e49d8b130273bd2b2654ea60691b5634847d61..65c53ce565c9b9bad0387b6eddb1f63799961fef 100644 (file)
@@ -7796,9 +7796,9 @@ set_bool_option(opt_idx, varp, value, opt_flags)
 #ifdef FEAT_BEVAL
     else if ((int *)varp == &p_beval)
     {
-       if (p_beval == TRUE)
+       if (p_beval && !old_value)
            gui_mch_enable_beval_area(balloonEval);
-       else
+       else if (!p_beval && old_value)
            gui_mch_disable_beval_area(balloonEval);
     }
 #endif
index d3ff17077e637df1bc681dfe397093b3061b0279..8496ef41a3070ca92e836f6ca982ad461687a25c 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    355,
 /**/
     354,
 /**/