From 69c7b4b0baa19ef62ae514d06e8e870d87ab71b6 Mon Sep 17 00:00:00 2001 From: Anselm R Garbe Date: Mon, 18 Aug 2008 10:00:10 +0100 Subject: changed order of variables in drawtext --- dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwm.c b/dwm.c index d903e9a..4ad7cea 100644 --- a/dwm.c +++ b/dwm.c @@ -569,8 +569,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; - XRectangle r = { dc.x, dc.y, dc.w, dc.h }; char buf[256]; + XRectangle r = { dc.x, dc.y, dc.w, dc.h }; XSetForeground(dpy, dc.gc, col[invert ? ColFG : ColBG]); XFillRectangles(dpy, dc.drawable, dc.gc, &r, 1); -- cgit 1.4.1-2-gfad0