]> diplodocus.org Git - nmh/commitdiff
contains8bit(): Don't fetch a byte when start >= end.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sun, 20 Aug 2017 10:38:04 +0000 (11:38 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sun, 20 Aug 2017 10:38:04 +0000 (11:38 +0100)
The test for a NUL byte was before the test for start being before end.
Whilst here, hoist the test of end out of the per-byte loop, alter the
function to return bool, and merge the two, different, comments
explaining the function's behaviour.


No differences found