From 253eecf9c7e75c29ba677007281e9082dc835a20 Mon Sep 17 00:00:00 2001 From: Sebastian Dransfeld Date: Thu, 28 Dec 2006 14:29:39 +0000 Subject: [PATCH] Fix const warning. SVN revision: 27599 --- src/bin/e_theme.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bin/e_theme.c b/src/bin/e_theme.c index f1f15f437..5115deed4 100644 --- a/src/bin/e_theme.c +++ b/src/bin/e_theme.c @@ -201,6 +201,7 @@ e_theme_edje_file_get(const char *category, const char *group) { E_Theme_Result *res; char buf[4096]; + const char *q; char *p; /* 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); for (l = coll; l; l = l->next) { - p = evas_stringshare_add(l->data); - res->quickfind = evas_hash_direct_add(res->quickfind, p, p); + q = evas_stringshare_add(l->data); + res->quickfind = evas_hash_direct_add(res->quickfind, q, q); } if (coll) edje_file_collection_list_free(coll); }