mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24: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:
@@ -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;
|
||||
|
@@ -714,6 +714,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
572,
|
||||
/**/
|
||||
571,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user