summaryrefslogtreecommitdiffstats
path: root/dmenu.c
diff options
context:
space:
mode:
authorGravatar Anselm R Garbe 2008-08-18 10:20:53 +0100
committerGravatar Anselm R Garbe 2008-08-18 10:20:53 +0100
commit17232f493b07973bacd60abb2e957ccae829eb7e (patch)
treedc712288c576e01686d348cbde8ab956e4c01d1e /dmenu.c
parentremoved the i = textnw... as remarked by Martin Hurton (diff)
abc...
Diffstat (limited to 'dmenu.c')
-rw-r--r--dmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmenu.c b/dmenu.c
index a799f14..d67c1ae 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -213,8 +213,8 @@ drawmenu(void) {
void
drawtext(const char *text, unsigned long col[ColLast]) {
- 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[ColBG]);