diff options
author | Christopher Sherlock <chris.sherlock79@gmail.com> | 2025-02-23 14:49:19 +1100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2025-02-27 02:40:33 +0100 |
commit | e4f7dd75937e9f7eaf92c7e9e244a03a3f17f48d (patch) | |
tree | 3e2622e57c524f84cf6f34e56a9c53d6280a7907 /dmake/mac/rmprq.c | |
parent | 08d940d3b7b194808385bd25bac6aa3160013e17 (diff) |
Regardless of whether all the frames are inverted, the animation bitmap
will always be inverted. Thus, we can invert the bitmap first, and then
start inverting all the frames. This simplifies matters because we can
just exit the function with a false return if the invert fails on any
animation frame.
Secondly, this allows us to convert to a for range loop.
Change-Id: Ifa8152e9903bfc53634b67c8933b50915e7a194f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182050
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'dmake/mac/rmprq.c')
0 files changed, 0 insertions, 0 deletions