Fix const warning.

SVN revision: 27599
This commit is contained in:
Sebastian Dransfeld 2006-12-28 14:29:39 +00:00
parent 5c4c704dea
commit 253eecf9c7
1 changed files with 3 additions and 2 deletions

View File

@ -201,6 +201,7 @@ e_theme_edje_file_get(const char *category, const char *group)
{ {
E_Theme_Result *res; E_Theme_Result *res;
char buf[4096]; char buf[4096];
const char *q;
char *p; char *p;
/* find category -> edje mapping */ /* find category -> edje mapping */
@ -239,8 +240,8 @@ e_theme_edje_file_get(const char *category, const char *group)
coll = edje_file_collection_list(str); coll = edje_file_collection_list(str);
for (l = coll; l; l = l->next) for (l = coll; l; l = l->next)
{ {
p = evas_stringshare_add(l->data); q = evas_stringshare_add(l->data);
res->quickfind = evas_hash_direct_add(res->quickfind, p, p); res->quickfind = evas_hash_direct_add(res->quickfind, q, q);
} }
if (coll) edje_file_collection_list_free(coll); if (coll) edje_file_collection_list_free(coll);
} }