efreet: formatting

SVN revision: 48921
This commit is contained in:
Sebastian Dransfeld 2010-05-16 19:36:42 +00:00
parent fc031b899d
commit f7b9de9595
2 changed files with 9 additions and 9 deletions

View File

@ -246,16 +246,16 @@ efreet_dirs_get(const char *key, const char *fallback)
{
*p = '\0';
if (!eina_list_search_unsorted(dirs, EINA_COMPARE_CB(strcmp), s))
{
{
// resolve path properly/fully to remove path//path2 to
// path/path2, path/./path2 to path/path2 etc.
char *ts = ecore_file_realpath(s);
if (ts)
{
dirs = eina_list_append(dirs, (void *)eina_stringshare_add(ts));
free(ts);
}
}
{
dirs = eina_list_append(dirs, (void *)eina_stringshare_add(ts));
free(ts);
}
}
s = ++p;
p = strchr(s, EFREET_PATH_SEP);