removed the if(clients) check from popping code
735ca9cc
1 file(s) · +1 −2
| 477 | 477 | if(sel->next) |
|
| 478 | 478 | sel->next->prev = sel->prev; |
|
| 479 | 479 | sel->prev = NULL; |
|
| 480 | - | if(clients) |
|
| 481 | - | clients->prev = sel; |
|
| 480 | + | clients->prev = sel; |
|
| 482 | 481 | sel->next = clients; |
|
| 483 | 482 | clients = sel; |
|
| 484 | 483 | arrange(NULL); |