Introduction
Introduction Statistics Contact Development Disclaimer Help
trevert of introduced problem - dwm - [fork] customized build of dwm, the dynam…
git clone git://src.adamsgaard.dk/dwm
Log
Files
Refs
README
LICENSE
---
commit 88e6eb4a3a3552d6b503481164aafc1c994d5a50
parent 0840c1367ca8a8a6ef414df85456fabeae3e4dfa
Author: [email protected] <unknown>
Date: Mon, 9 Jun 2008 11:05:20 +0200
revert of introduced problem
Diffstat:
M dwm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/dwm.c b/dwm.c
t@@ -571,7 +571,7 @@ drawtext(const char *text, ulong col[ColLast], Bool invert…
if(!len)
return;
if(len < olen)
- for(i = len; i && i > len - 3; buf[--i] = '.');
+ for(i = len; i >= MAX(0, len - 3); buf[i--] = '.');
XSetForeground(dpy, dc.gc, col[invert ? ColBG : ColFG]);
if(dc.font.set)
XmbDrawString(dpy, dc.drawable, dc.font.set, dc.gc, x, y, buf,…
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.