]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.572 v7.3.572
authorBram Moolenaar <Bram@vim.org>
Fri, 29 Jun 2012 11:19:27 +0000 (13:19 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 29 Jun 2012 11:19:27 +0000 (13:19 +0200)
Problem:    Duplicate statement in if and else. (Dominique Pelle)
Solution:   Remove the condition and add a TODO.

src/gui_xmebw.c
src/version.c

index 5b6508867c563653eb763af9c9a88f1549540f93..f7d59fcc51b2b57a795c837534b9146446382cb1 100644 (file)
@@ -375,11 +375,8 @@ set_pixmap(XmEnhancedButtonWidget eb)
 
     XGetGeometry(dpy, pix, &root, &x, &y, &width, &height, &border, &depth);
 
-    if (eb->enhancedbutton.label_location == (int)XmTOP
-           || eb->enhancedbutton.label_location == (int)XmBOTTOM)
-       shift = eb->primitive.shadow_thickness / 2;
-    else
-       shift = eb->primitive.shadow_thickness / 2;
+    /* TODO: does the shift depend on label_location somehow? */
+    shift = eb->primitive.shadow_thickness / 2;
 
     if (shift < 1)
        shift = 1;
index 8c3c8358ccbdbe74335e133bd0c54161a3d15f6f..d424af75f8afee30c5003d95123e4fb4f593d8f9 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    572,
 /**/
     571,
 /**/