fix typo
8a111c18
1 file(s) · +1 −1
| 781 | 781 | drawsquare(Bool filled, Bool empty, Bool invert, unsigned long col[ColLast]) { |
|
| 782 | 782 | int x; |
|
| 783 | 783 | ||
| 784 | - | XSetForeground(dpy, dc.gc, col[invert ? ColFG : ColBG]); |
|
| 784 | + | XSetForeground(dpy, dc.gc, col[invert ? ColBG : ColFG]); |
|
| 785 | 785 | x = (dc.font.ascent + dc.font.descent + 2) / 4; |
|
| 786 | 786 | if(filled) |
|
| 787 | 787 | XFillRectangle(dpy, dc.drawable, dc.gc, dc.x+1, dc.y+1, x+1, x+1); |