From: <enl...@li...> - 2005-07-21 04:23:50
|
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); |