Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_theme.c 


Log Message:
- make sure the strings are strduped so glib dosen't yell at me.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_theme.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- ewl_theme.c 21 Jul 2005 04:02:35 -0000      1.12
+++ ewl_theme.c 21 Jul 2005 04:23:42 -0000      1.13
@@ -529,9 +529,9 @@
        }
 
        if (v)
-               ecore_hash_set(w->theme, k, strdup(v));
+               ecore_hash_set(w->theme, strdup(k), strdup(v));
        else
-               ecore_hash_set(w->theme, k, NOMATCH);
+               ecore_hash_set(w->theme, strdup(k), NOMATCH);
 
        if (REALIZED(w)) {
                ewl_widget_unrealize(w);




-------------------------------------------------------
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