Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src


Modified Files:
        ewl_theme.c 


Log Message:
Fix the case of a custom edje being used, this broke with the theme
conversion.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_theme.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -3 -r1.58 -r1.59
--- ewl_theme.c 26 Feb 2004 05:38:41 -0000      1.58
+++ ewl_theme.c 2 Mar 2004 18:58:34 -0000       1.59
@@ -305,9 +305,8 @@
        DCHECK_PARAM_PTR_RET("w", w, NULL);
        DCHECK_PARAM_PTR_RET("k", k, NULL);
 
-       if (theme_db)
-               data = ewl_theme_data_get_str(w, k);
-       else
+       data = ewl_theme_data_get_str(w, k);
+       if (!data && !theme_db)
                data = strdup(theme_path);
 
        if (!data)




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to