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:
@@ -375,10 +375,7 @@ set_pixmap(XmEnhancedButtonWidget eb)
|
|||||||
|
|
||||||
XGetGeometry(dpy, pix, &root, &x, &y, &width, &height, &border, &depth);
|
XGetGeometry(dpy, pix, &root, &x, &y, &width, &height, &border, &depth);
|
||||||
|
|
||||||
if (eb->enhancedbutton.label_location == (int)XmTOP
|
/* TODO: does the shift depend on label_location somehow? */
|
||||||
|| eb->enhancedbutton.label_location == (int)XmBOTTOM)
|
|
||||||
shift = eb->primitive.shadow_thickness / 2;
|
|
||||||
else
|
|
||||||
shift = eb->primitive.shadow_thickness / 2;
|
shift = eb->primitive.shadow_thickness / 2;
|
||||||
|
|
||||||
if (shift < 1)
|
if (shift < 1)
|
||||||
|
@@ -714,6 +714,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
572,
|
||||||
/**/
|
/**/
|
||||||
571,
|
571,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user