From: englebass Date: Thu, 19 Jan 2012 00:35:36 +0000 (+0000) Subject: edje: correct retrival of file name X-Git-Tag: submit/2.0alpha-wayland/20121127.221958~428 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=79aed193b5dfcbcd2a953804b343f80ec548172f;p=profile%2Fivi%2Fedje.git edje: correct retrival of file name When using eina_file_direct_ls, we already know where the file part of a path is, not need to use ecore_file_file_get(). git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@67307 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/edje_module.c b/src/lib/edje_module.c index effcee1..358295b 100644 --- a/src/lib/edje_module.c +++ b/src/lib/edje_module.c @@ -136,12 +136,12 @@ edje_available_modules_get(void) snprintf(tmp, sizeof (tmp), "%s/%s/" EDJE_MODULE_NAME, info->path, MODULE_ARCH #ifdef EDJE_EXTRA_MODULE_NAME - , ecore_file_file_get(info->path) + , info->path + info->name_start #endif ); if (ecore_file_exists(tmp)) - result = eina_list_append(result, eina_stringshare_add(ecore_file_file_get(info->path))); + result = eina_list_append(result, eina_stringshare_add(info->path + info->name_start)); } eina_iterator_free(it);