X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=dwm.c;h=14cf3f9b70933117b25b0e20456974d4cac887fd;hp=dcd6e317b89ad081ad2aa167cfd500b364594759;hb=bfa5869da154a0bd356d31cb7fe0d7b97fbc4e9d;hpb=087a55f8d35f72560c5a266ee0eb91417e6f58fc diff --git a/dwm.c b/dwm.c index dcd6e31..14cf3f9 100644 --- a/dwm.c +++ b/dwm.c @@ -568,8 +568,8 @@ drawsquare(Bool filled, Bool empty, Bool invert, unsigned long col[ColLast]) { void drawtext(const char *text, unsigned long col[ColLast], Bool invert) { - int i, x, y, h, len, olen; char buf[256]; + int i, x, y, h, len, olen; XRectangle r = { dc.x, dc.y, dc.w, dc.h }; XSetForeground(dpy, dc.gc, col[invert ? ColFG : ColBG]);