e: use '-' to separate multiple desktop dirs

reverts 62571

SVN revision: 62742
This commit is contained in:
Boris Faure 2011-08-24 14:18:09 +00:00
parent cab8970124
commit 6907da7f27
1 changed files with 2 additions and 2 deletions

View File

@ -3249,7 +3249,7 @@ _e_fm2_dev_path_map(const char *dev, const char *path)
free(custom_desktop_dir); free(custom_desktop_dir);
return NULL; return NULL;
} }
buf[len++] = '/'; buf[len++] = '-';
strncpy(buf + len, path, sizeof(buf) - len); strncpy(buf + len, path, sizeof(buf) - len);
} }
free(custom_desktop_dir); free(custom_desktop_dir);
@ -3264,7 +3264,7 @@ _e_fm2_dev_path_map(const char *dev, const char *path)
} }
else else
{ {
if (e_user_homedir_snprintf(buf, sizeof(buf), "%s/%s", if (e_user_homedir_snprintf(buf, sizeof(buf), "%s-%s",
_("Desktop"), path) _("Desktop"), path)
>= sizeof(buf)) >= sizeof(buf))
return NULL; return NULL;