projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97699e5
)
changed order of variables in drawtext
author
Anselm R Garbe
<garbeam@gmail.com>
Mon, 18 Aug 2008 09:00:10 +0000
(10:00 +0100)
committer
Anselm R Garbe
<garbeam@gmail.com>
Mon, 18 Aug 2008 09:00:10 +0000
(10:00 +0100)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index d903e9a28337a2ffe9dbb92ba452715205051a50..4ad7cea938fd51fd7b8075ad3243cc4e238b92ff 100644
(file)
--- 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);