changeset 3676:4920d6d4ac6e

Automated merge with ssh://hg.atheme.org//hg/audacious
author William Pitcock <nenolod@atheme.org>
date Sun, 30 Sep 2007 12:02:15 -0500
parents 65b9207fb7b2 (diff) 8b3f1801b9d6 (current diff)
children 30ef1287da19
files applications/audacious.desktop
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/effect.c	Sun Sep 30 15:29:07 2007 +0300
+++ b/src/audacious/effect.c	Sun Sep 30 12:02:15 2007 -0500
@@ -83,7 +83,6 @@
     if (!node || !(node->data))
         return;
     ep = node->data;
-    ep->enabled = enable;
 
     if (enable && !ep->enabled) {
         ep_data.enabled_list = g_list_append(ep_data.enabled_list, ep);
@@ -95,6 +94,8 @@
         if (ep->cleanup)
             ep->cleanup();
     }
+
+    ep->enabled = enable;
 }
 
 GList *