[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master d8225e9fa1: ; * lwlib/xlwmenu.c (make_shadow_gcs): Remove "a = a"
From: |
Lars Ingebrigtsen |
Subject: |
master d8225e9fa1: ; * lwlib/xlwmenu.c (make_shadow_gcs): Remove "a = a" pattern. |
Date: |
Mon, 11 Jul 2022 06:09:47 -0400 (EDT) |
branch: master
commit d8225e9fa1e68ff4e38f149838ae0a72853b2f2b
Author: Manuel Giraud <manuel@ledu-giraud.fr>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
; * lwlib/xlwmenu.c (make_shadow_gcs): Remove "a = a" pattern.
* lwlib/xlwmenu.c (make_shadow_gcs): Remove code that sets a value
to itself (bug#56479).
---
lwlib/xlwmenu.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/lwlib/xlwmenu.c b/lwlib/xlwmenu.c
index eba85631bd..68f49e646d 100644
--- a/lwlib/xlwmenu.c
+++ b/lwlib/xlwmenu.c
@@ -1753,13 +1753,9 @@ make_shadow_gcs (XlwMenuWidget mw)
if (mw->menu.top_shadow_color == -1)
mw->menu.top_shadow_color = mw->core.background_pixel;
- else
- mw->menu.top_shadow_color = mw->menu.top_shadow_color;
if (mw->menu.bottom_shadow_color == -1)
mw->menu.bottom_shadow_color = mw->menu.foreground;
- else
- mw->menu.bottom_shadow_color = mw->menu.bottom_shadow_color;
if (mw->menu.top_shadow_color == mw->core.background_pixel ||
mw->menu.top_shadow_color == mw->menu.foreground)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master d8225e9fa1: ; * lwlib/xlwmenu.c (make_shadow_gcs): Remove "a = a" pattern.,
Lars Ingebrigtsen <=