raster pushed a commit to branch master.

commit 58597e51e73af82d6d17b2a60d7eb9d7e6c856f2
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Mon Mar 11 20:53:43 2013 +0900

    fix tyls -m
---
 src/bin/tyls.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/tyls.c b/src/bin/tyls.c
index 2b38c9c..4fb86aa 100644
--- a/src/bin/tyls.c
+++ b/src/bin/tyls.c
@@ -720,7 +720,7 @@ list_dir(const char *dir, int mode)
                        snprintf(buf, sizeof(buf), "%s/%s", dir, s);
                        icon = fileicon(buf);
                        cw = tw / cols;
-                       len += 4;
+                       len += 3;
                        if (cols > 1) len += 1;
                        if (icon)
                          printf("%c}it%c%i;%i;%s\n%s%c", 0x1b, 33 + c, 4, 2, 
buf, icon, 0);

-- 

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev

Reply via email to