and fix my desktop folder fix.. to not make Desktop- :)

SVN revision: 74645
This commit is contained in:
Carsten Haitzler 2012-07-31 11:07:33 +00:00
parent 9d02bd6282
commit bc3741963e
1 changed files with 1 additions and 1 deletions

View File

@ -3122,7 +3122,7 @@ _e_fm2_dev_path_map(const char *dev, const char *path)
.desktop files or symlinks (in fact anything
* you like
*/
if (!path)
if ((!path) || (!path[0]) || (path[0] == '/'))
snprintf(buf, sizeof(buf), "%s",
efreet_desktop_dir_get());
else