| 365 | int u = 0, r = 0; |
| 366 | maxremain /= sizeof(sqr); |
| 367 | loopvrev(undos) |
| 368 | { |
| 369 | u += undos[i]->xs * undos[i]->ys; |
| 370 | if(u > maxremain) freeblockp(undos.remove(i)); |
| 371 | } |
| 372 | loopvrev(redos) |
| 373 | { |
| 374 | r += redos[i]->xs * redos[i]->ys; |
nothing calls this directly
no test coverage detected