dxx-rebirth/similar
Kp 6e9208efcd Simplify test for corrupt IFF file
clang rightly warns for `if (!var&1)`, which parses as `if (!(var &
1))`, which is probably not what the original author intended.
Unfortunately, the author never commented what *was* intended.  The
author might have meant to reject any row with an even length (`if
(!(var & 1))`, but that seems strange in this context.  Remove the `&
1`, which retains the sense of what the code has always done.
2018-04-03 03:20:08 +00:00
..
2d Remove build_colormap_good parameter used 2018-03-08 04:21:18 +00:00
3d Use constexpr integral_constant for various magic numbers 2017-10-14 17:10:30 +00:00
arch Make SDL-only SDL_Surface pointers static 2018-03-02 03:19:02 +00:00
editor Pass vertex factory to compute_center_point_on_side 2018-03-12 03:43:47 +00:00
main Simplify test for corrupt IFF file 2018-04-03 03:20:08 +00:00
misc Replace useless printf with puts 2017-12-05 05:29:55 +00:00