Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_module.c 


Log Message:
Only remove module if it fails to load, not if it just isn't enabled.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_module.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- e_module.c  3 May 2005 10:06:42 -0000       1.25
+++ e_module.c  4 May 2005 09:59:02 -0000       1.26
@@ -54,7 +54,10 @@
        pl = l;
        l = l->next;
        m = e_module_new(em->name);
-       if ((em->enabled) && (m)) e_module_enable(m);
+       if (m)
+         {
+            if (em->enabled) e_module_enable(m);
+         }
        else
          {
             IF_FREE(em->name);




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to