Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_misc.c 


Log Message:
Allow NULL arguments to ewl_init.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_misc.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- ewl_misc.c  21 Jul 2005 00:47:58 -0000      1.12
+++ ewl_misc.c  25 Jul 2005 04:16:44 -0000      1.13
@@ -371,6 +371,9 @@
 
        DENTER_FUNCTION(DLEVEL_STABLE);
 
+       if (!argc || !argv)
+               DRETURN(DLEVEL_STABLE);
+
        i = 0;
        while (i < *argc) {
                if (!strcmp(argv[i], "--ewl-segv")) {




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to