0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

updated for version 7.3.572

Problem:    Duplicate statement in if and else. (Dominique Pelle)
Solution:   Remove the condition and add a TODO.
This commit is contained in:
Bram Moolenaar
2012-06-29 13:19:27 +02:00
parent f6a2b08c54
commit a53c60d33c
2 changed files with 4 additions and 5 deletions

View 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;

View File

@@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
572,
/**/
571,
/**/