From 9ccbda094893d07df56333774f402b0e9d9677dd Mon Sep 17 00:00:00 2001 From: sebastid Date: Fri, 14 Oct 2005 11:51:17 +0000 Subject: [PATCH] indent + whitespace SVN revision: 17536 --- src/bin/e_fileman_smart.c | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/src/bin/e_fileman_smart.c b/src/bin/e_fileman_smart.c index f8b23eb..d56cf5f 100644 --- a/src/bin/e_fileman_smart.c +++ b/src/bin/e_fileman_smart.c @@ -1271,11 +1271,11 @@ _e_fm_dir_files_get(char *dirname, E_Fileman_File_Type type) snprintf(fullname, PATH_MAX, "%s/%s", dirname, dir_entry->d_name); - if(stat(fullname, &st) == -1) - { - D(("stat(%s, &st) failed -- %d", errno)); - continue; - } + if (stat(fullname, &st) == -1) + { + D(("stat(%s, &st) failed -- %d", errno)); + continue; + } attr = E_NEW(E_Fileman_File_Attributes, 1); @@ -2614,17 +2614,16 @@ _e_fm_file_thumb_get(E_Fileman_File *file) static E_Fileman_File_Type _e_fm_file_type(E_Fileman_File *file) { - if(S_ISDIR(file->attr->mode)) + if (S_ISDIR(file->attr->mode)) return E_FILEMAN_FILETYPE_DIRECTORY; - + /* TODO: Handle links differently */ - if(S_ISREG(file->attr->mode) || S_ISLNK(file->attr->mode)) + if (S_ISREG(file->attr->mode) || S_ISLNK(file->attr->mode)) return E_FILEMAN_FILETYPE_FILE; - + return E_FILEMAN_FILETYPE_UNKNOWN; } - static Evas_Bool _e_fm_file_open_assoc(E_Fileman_File *file) { -- 2.7.4