hotfix
25060031
1 file(s) · +3 −1
| 172 | 172 | void |
|
| 173 | 173 | growcol(Arg *arg) |
|
| 174 | 174 | { |
|
| 175 | - | if(!sel || !clients || !clients->next || (arrange != dotile)) |
|
| 175 | + | Client *c = getnext(clients); |
|
| 176 | + | ||
| 177 | + | if(!sel || !c || !getnext(c->next) || (arrange != dotile)) |
|
| 176 | 178 | return; |
|
| 177 | 179 | if(sel == getnext(clients)) { |
|
| 178 | 180 | if(mw + arg->i > sw - 100) |