Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_engines.c 


Log Message:
- fix warning

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_engines.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- ewl_engines.c       11 Jul 2006 01:12:03 -0000      1.8
+++ ewl_engines.c       11 Jul 2006 20:41:16 -0000      1.9
@@ -98,8 +98,7 @@
 
        DENTER_FUNCTION(DLEVEL_STABLE);
        DCHECK_PARAM_PTR_RET("embed", embed, NULL);
-       DCHECK_PARAM_PTR_RET("valid type", 
-                               (type >= 0 && type < EWL_ENGINE_MAX), NULL);
+       DCHECK_PARAM_PTR_RET("valid type", type < EWL_ENGINE_MAX, NULL);
        DCHECK_TYPE_RET("embed", embed, EWL_EMBED_TYPE, NULL);
 
        caller = EWL_ENGINE(embed->engine);
@@ -136,8 +135,7 @@
 
        DENTER_FUNCTION(DLEVEL_STABLE);
        DCHECK_PARAM_PTR_RET("embed", embed, NULL);
-       DCHECK_PARAM_PTR_RET("valid type", 
-                               (type >= 0 && type < EWL_ENGINE_MAX), NULL);
+       DCHECK_PARAM_PTR_RET("valid type", type < EWL_ENGINE_MAX, NULL);
        DCHECK_TYPE_RET("embed", embed, EWL_EMBED_TYPE, NULL);
 
        matches = ecore_list_new();




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to