aboutsummarylogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
authorConnor Lane Smith2011-06-04 10:18:54 +0100
committerConnor Lane Smith2011-06-04 10:18:54 +0100
commit463ed6b0b07e2143d109fb2ea0a3d073cfa4457a (patch)
tree05bc2e1755c28725d028868144bd58b3ab0591d9 /dwm.c
parent926f2008c0076aa8c22876c77c077ab92eeffbc3 (diff)
downloadaur-463ed6b0b07e2143d109fb2ea0a3d073cfa4457a.tar.gz
fix typo
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 05ab119df8a0..780f1fb9d274 100644
--- a/dwm.c
+++ b/dwm.c
@@ -781,7 +781,7 @@ void
drawsquare(Bool filled, Bool empty, Bool invert, unsigned long col[ColLast]) {
int x;
- XSetForeground(dpy, dc.gc, col[invert ? ColFG : ColBG]);
+ XSetForeground(dpy, dc.gc, col[invert ? ColBG : ColFG]);
x = (dc.font.ascent + dc.font.descent + 2) / 4;
if(filled)
XFillRectangle(dpy, dc.drawable, dc.gc, dc.x+1, dc.y+1, x+1, x+1);