Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/modules/flame


Modified Files:
        e_mod_main.c e_mod_main.h 


Log Message:


clean up a lot of wranings.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/flame/e_mod_main.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_mod_main.c        9 Dec 2004 07:30:45 -0000       1.2
+++ e_mod_main.c        23 Dec 2004 06:38:27 -0000      1.3
@@ -152,7 +152,7 @@
    E_CONFIG_LIMIT(f->conf->variance, 1, 100);
    E_CONFIG_LIMIT(f->conf->vartrend, 1, 100);
    E_CONFIG_LIMIT(f->conf->residual, 1, 100);
-   E_CONFIG_LIMIT(f->conf->palette_type, 0, 100);
+   E_CONFIG_LIMIT(f->conf->palette_type, DEFAULT_PALETTE, PLASMA_PALETTE);
    
    managers = e_manager_list ();
    for (l = managers; l; l = l->next)
@@ -484,7 +484,6 @@
        *ptr += ((rand ()%ff->flame->conf->variance) - 
ff->flame->conf->vartrend);
        val = *ptr;
        if (val > 300) *ptr = 0;
-       if (val < 0)    *ptr = 0;
      }
 }
 
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/flame/e_mod_main.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_mod_main.h        9 Dec 2004 07:30:45 -0000       1.2
+++ e_mod_main.h        23 Dec 2004 06:38:27 -0000      1.3
@@ -9,6 +9,7 @@
 
 enum _Flame_Palette_Type
 {
+   DEFAULT_NONE,
    DEFAULT_PALETTE,
      PLASMA_PALETTE
 };




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to