• Sam Spilsbury's avatar
    actor: Fix logic error in determining terminal effect for paint volume · 4270eef1
    Sam Spilsbury authored
    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.
    4270eef1
Name
Last commit
Last update
clutter Loading commit data...
cogl Loading commit data...
data Loading commit data...
doc Loading commit data...
po Loading commit data...
src Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
mutter.doap Loading commit data...