diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c index 0f80bf75b..479090926 100644 --- a/src/bin/e_fm.c +++ b/src/bin/e_fm.c @@ -3089,9 +3089,10 @@ _e_fm2_dev_path_map(const char *dev, const char *path) .desktop files or symlinks (in fact anything * you like */ - if ((!path) || (!path[0]) || (path[0] == '/')) - snprintf(buf, sizeof(buf), "%s", - efreet_desktop_dir_get()); + if ((!path) || (!path[0]) || (!strcmp(path, "/"))) + snprintf(buf, sizeof(buf), "%s", efreet_desktop_dir_get()); + else if (path[0] == '/') + snprintf(buf, sizeof(buf), "%s/%s", efreet_desktop_dir_get(), path); else snprintf(buf, sizeof(buf), "%s-%s", efreet_desktop_dir_get(), path);