aboutsummarylogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
authorAnselm R Garbe2008-08-18 10:00:10 +0100
committerAnselm R Garbe2008-08-18 10:00:10 +0100
commit51ccee8576e18066a4987dc0dc84024b8673af81 (patch)
tree827b8146e6bb400d79351340d6b389177afd2301 /dwm.c
parent4ad7785601143c28691bd1cb1e869f4aa91bfa68 (diff)
downloadaur-51ccee8576e18066a4987dc0dc84024b8673af81.tar.gz
changed order of variables in drawtext
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index d903e9a28337..4ad7cea938fd 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);