mirror of
https://git.suckless.org/dwm
synced 2024-12-27 03:16:32 +00:00
fix typo
This commit is contained in:
parent
2255bf46a0
commit
8a111c181e
1 changed files with 1 additions and 1 deletions
2
dwm.c
2
dwm.c
|
@ -781,7 +781,7 @@ void
|
||||||
drawsquare(Bool filled, Bool empty, Bool invert, unsigned long col[ColLast]) {
|
drawsquare(Bool filled, Bool empty, Bool invert, unsigned long col[ColLast]) {
|
||||||
int x;
|
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;
|
x = (dc.font.ascent + dc.font.descent + 2) / 4;
|
||||||
if(filled)
|
if(filled)
|
||||||
XFillRectangle(dpy, dc.drawable, dc.gc, dc.x+1, dc.y+1, x+1, x+1);
|
XFillRectangle(dpy, dc.drawable, dc.gc, dc.x+1, dc.y+1, x+1, x+1);
|
||||||
|
|
Loading…
Reference in a new issue