summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index dcd6e31..14cf3f9 100644
--- a/dwm.c
+++ b/dwm.c
@@ -568,8 +568,8 @@ drawsquare(Bool filled, Bool empty, Bool invert, unsigned long col[ColLast]) {
568 568
569void 569void
570drawtext(const char *text, unsigned long col[ColLast], Bool invert) { 570drawtext(const char *text, unsigned long col[ColLast], Bool invert) {
571 int i, x, y, h, len, olen;
572 char buf[256]; 571 char buf[256];
572 int i, x, y, h, len, olen;
573 XRectangle r = { dc.x, dc.y, dc.w, dc.h }; 573 XRectangle r = { dc.x, dc.y, dc.w, dc.h };
574 574
575 XSetForeground(dpy, dc.gc, col[invert ? ColFG : ColBG]); 575 XSetForeground(dpy, dc.gc, col[invert ? ColFG : ColBG]);