Signed-off-by: Amadeusz Sławiński <[email protected]>
---
 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 [email protected].

Reply via email to