Signed-off-by: Amadeusz Sławiński <am...@asmblr.net>
---
 WINGs/wpanel.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/WINGs/wpanel.c b/WINGs/wpanel.c
index 1c1d04f..6e2f9f4 100644
--- a/WINGs/wpanel.c
+++ b/WINGs/wpanel.c
@@ -545,13 +545,11 @@ WMGenericPanel *WMCreateGenericPanel(WMScreen * scrPtr, 
WMWindow * owner,
 
        w = WMAX(dw, aw);
        if ((w + 10) * 2 < 400) {
-               aw = w;
                dw = w;
        } else {
                int t;
 
                t = 400 - 40 - aw - dw;
-               aw += t / 2;
                dw += t / 2;
        }
 
-- 
1.9.3


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to