Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e_utils

Dir     : e17/apps/e_utils/src/bin/ethemes


Modified Files:
        Makefile.am main.c 


Log Message:
We need esmart cflags.
Add string.h for string functions.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e_utils/src/bin/ethemes/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 18 Oct 2005 08:06:39 -0000      1.2
+++ Makefile.am 23 Oct 2005 11:51:18 -0000      1.3
@@ -8,6 +8,7 @@
        -DE17PREFIX=\"`enlightenment-config --prefix`\" \
        @ECORE_CFLAGS@ \
        @EVAS_CFLAGS@ \
+       @ESMART_CFLAGS@ \
        @EDJE_CFLAGS@ \
        @ENLIGHTENMENT_CFLAGS@
 
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e_utils/src/bin/ethemes/main.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- main.c      19 Oct 2005 09:10:16 -0000      1.6
+++ main.c      23 Oct 2005 11:51:18 -0000      1.7
@@ -1,5 +1,6 @@
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <dirent.h>
 #include <limits.h>
 #include <Ecore.h>
@@ -132,7 +133,7 @@
        ecore_list_goto_first(list);
        char * data;
        themes = NULL;
-       while (data = (char *)ecore_list_next(list))
+       while ((data = (char *)ecore_list_next(list)))
                if (strstr(data, ".edj") != NULL) {
                        char * file = (char *) strdup(data);
                        themes = evas_list_append(themes, file);




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to