From d19728bcb2a235a629a20b78e2422ce9dc1f3205 Mon Sep 17 00:00:00 2001 From: Miculcy Brian Date: Fri, 22 Feb 2008 00:59:42 +0000 Subject: [PATCH] cleanup SVN revision: 33807 --- src/bin/e_fm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c index a088f808b..88b25a876 100644 --- a/src/bin/e_fm.c +++ b/src/bin/e_fm.c @@ -2280,7 +2280,7 @@ _e_fm2_dev_path_map(const char *dev, const char *path) 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 @@ _e_fm2_dev_path_map(const char *dev, const char *path) /* 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;