applied Connors aesthitic buf fix in tile(), thanks
d6670a80
1 file(s) · +2 −2
| 1662 | 1662 | if(--n == 0) |
|
| 1663 | 1663 | return; |
|
| 1664 | 1664 | /* tile stack */ |
|
| 1665 | - | x = (m->wx + mw > c->x + c->w) ? c->x + c->w + 2 * c->bw : m->wx + mw; |
|
| 1665 | + | x = (m->wx > c->x) ? c->x + mw + 2 * c->bw : m->wx + mw; |
|
| 1666 | 1666 | y = m->wy; |
|
| 1667 | - | w = (m->wx + mw > c->x + c->w) ? m->wx + m->ww - x : m->ww - mw; |
|
| 1667 | + | w = (m->wx > c->x) ? m->wx + m->ww - x : m->ww - mw; |
|
| 1668 | 1668 | h = m->wh / n; |
|
| 1669 | 1669 | if(h < bh) |
|
| 1670 | 1670 | h = m->wh; |