changed order of variables in drawtext
69c7b4b0
1 file(s) · +1 −1
| 569 | 569 | void |
|
| 570 | 570 | drawtext(const char *text, unsigned long col[ColLast], Bool invert) { |
|
| 571 | 571 | int i, x, y, h, len, olen; |
|
| 572 | - | XRectangle r = { dc.x, dc.y, dc.w, dc.h }; |
|
| 573 | 572 | char buf[256]; |
|
| 573 | + | XRectangle r = { dc.x, dc.y, dc.w, dc.h }; |
|
| 574 | 574 | ||
| 575 | 575 | XSetForeground(dpy, dc.gc, col[invert ? ColFG : ColBG]); |
|
| 576 | 576 | XFillRectangles(dpy, dc.drawable, dc.gc, &r, 1); |