aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-08-18 10:20:53 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-08-18 10:20:53 +0100
commit17232f493b07973bacd60abb2e957ccae829eb7e (patch)
treedc712288c576e01686d348cbde8ab956e4c01d1e
parentb95e61c9b7310deb452a5dfe404cc1a8f9930117 (diff)
downloaddmenu-17232f493b07973bacd60abb2e957ccae829eb7e.tar.gz
dmenu-17232f493b07973bacd60abb2e957ccae829eb7e.tar.bz2
dmenu-17232f493b07973bacd60abb2e957ccae829eb7e.zip
abc...
-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]);