Signed-off-by: Amadeusz Sławiński <am...@asmblr.net>
---
 src/misc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/misc.c b/src/misc.c
index 4d008a3..63e7158 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -279,7 +279,6 @@ char *ShrinkString(WMFont *font, const char *string, int 
width)
                p = strlen(text);
                w1 = WMWidthOfString(font, text, p);
                if (w1 > width) {
-                       w1 = 0;
                        p = 0;
                        *pos = ' ';
                        *text = 0;
-- 
1.9.3


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

Reply via email to