JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fixing some minor issues, next week is dwm-5.9 release time
[dwm.git] / dwm.c
diff --git a/dwm.c b/dwm.c
index 05ab119..f6cec0b 100644 (file)
--- 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);
@@ -2046,7 +2046,7 @@ zoom(const Arg *arg) {
 int
 main(int argc, char *argv[]) {
        if(argc == 2 && !strcmp("-v", argv[1]))
-               die("dwm-"VERSION", © 2006-2010 dwm engineers, see LICENSE for details\n");
+               die("dwm-"VERSION", © 2006-2011 dwm engineers, see LICENSE for details\n");
        else if(argc != 1)
                die("usage: dwm [-v]\n");
        if(!setlocale(LC_CTYPE, "") || !XSupportsLocale())