URI: 
       applied Jochen's drw_text patch, thanks - libsl - shared code master of various suckless projects
  HTML git clone git://git.suckless.org/libsl
   DIR Log
   DIR Files
   DIR Refs
   DIR LICENSE
       ---
   DIR commit 4970af0a78c1b28ff0cc8bfd36ac7cc03ad208f3
   DIR parent 96fe0f030abeb962b07ad4fc390ca8ad926bb9aa
  HTML Author: Anselm R Garbe <anselm@garbe.us>
       Date:   Sun, 23 Jun 2013 21:54:02 +0200
       
       applied Jochen's drw_text patch, thanks
       
       Diffstat:
         M drw.c                               |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/drw.c b/drw.c
       @@ -157,7 +157,7 @@ drw_text(Drw *drw, int x, int y, unsigned int w, unsigned int h, const char *tex
                ty = y + (h / 2) - (th / 2) + drw->font->ascent;
                tx = x + (h / 2);
                /* shorten text if necessary */
       -        for(len = MIN(olen, sizeof buf); len && tex.w > w - tex.h; len--)
       +        for(len = MIN(olen, sizeof buf); len && (tex.w > w - tex.h || w < tex.h); len--)
                        drw_font_getexts(drw->font, text, len, &tex);
                if(!len)
                        return;