]> diplodocus.org Git - nmh/commitdiff
Don't test -reverse's boolean on every message number.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sun, 16 Oct 2016 14:25:37 +0000 (15:25 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sun, 16 Oct 2016 14:25:37 +0000 (15:25 +0100)
Test just once before the loop and define start, end, and increment.
Keep going whilst start is not end.  Happy for underflow or overflow in
calculating end because msgnum will make the same transition.  It can't
affect whether the loop runs at all since 0 is not a valid message
number.


No differences found