Sam Spilsbury 02e80af200 actor: Fix logic error in determining terminal effect for paint volume
Previously we were checking l->data != NULL || (l->data != NULL &&
l->data != priv->current_effect). This would continue the loop even
if l->data == priv->current_effect, since l->data != NULL, which was
not the intention of that loop.

We also don't need to check that l->data != NULL before checking if
it does not match the current_effect, since we already checked
that current_effect was non-NULL before entering the loop.


(cherry picked from commit 4270eef16ecbc5447c9869596567f2866c9265d7)
2018-09-19 14:20:19 +00:00
2018-04-10 17:58:12 +02:00
2018-07-18 23:12:51 +02:00
2018-07-18 23:12:51 +02:00
Description
91 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%