From: Connor Lane Smith Date: Sat, 4 Jun 2011 09:18:54 +0000 (+0100) Subject: fix typo X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=commitdiff_plain;h=8a111c181ea7c14fa3903bebccd3e1cc00e1fe31 fix typo --- diff --git a/dwm.c b/dwm.c index 05ab119..780f1fb 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);