updated for version 7.3.572
Problem: Duplicate statement in if and else. (Dominique Pelle)
Solution: Remove the condition and add a TODO.
diff --git a/src/gui_xmebw.c b/src/gui_xmebw.c
index 5b65088..f7d59fc 100644
--- a/src/gui_xmebw.c
+++ b/src/gui_xmebw.c
@@ -375,11 +375,8 @@
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;