Enlightenment CVS committal Author : sebastid Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_fileman_smart.c Log Message: indent + whitespace =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_fileman_smart.c,v retrieving revision 1.29 retrieving revision 1.30 diff -u -3 -r1.29 -r1.30 --- e_fileman_smart.c 13 Oct 2005 08:41:13 -0000 1.29 +++ e_fileman_smart.c 14 Oct 2005 11:51:17 -0000 1.30 @@ -1271,11 +1271,11 @@ 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 @@ 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) { ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs