Enlightenment CVS committal Author : morlenxus Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_fm.c Log Message: cleanup =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_fm.c,v retrieving revision 1.237 retrieving revision 1.238 diff -u -3 -r1.237 -r1.238 --- e_fm.c 21 Feb 2008 23:32:34 -0000 1.237 +++ e_fm.c 22 Feb 2008 00:59:42 -0000 1.238 @@ -2280,7 +2280,7 @@ s = (char *)e_user_homedir_get(); PRT("%s%s", s, path); } - else if (dev && (dev[0] == '/')) + else if ((dev) && (dev[0] == '/')) { /* dev is a full path - consider it a mountpoint device on its own */ PRT("%s%s", dev, path); @@ -2344,7 +2344,7 @@ /* FIXME: add code for finding nfs shares, smb shares etc. */ /* maybe make part of the device mappings config? */ - if (!strlen (buf)) snprintf(buf, sizeof(buf), "%s", path); + if (!strlen(buf)) snprintf(buf, sizeof(buf), "%s", path); /* strip out excess multiple slashes */ s = buf; ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs