Fix for the file URI on FreeBSD.

On FreeBSD terminology complains about media_add() can not decode
'folder' and '/usr/home/xyz/1.png'.

This could be fixed by changing the URI from "file:%s" to "file://%s"
This commit is contained in:
tantSinnister 2014-11-19 15:41:40 +01:00 committed by Boris Faure
parent 27f60de90b
commit eea3338a43
1 changed files with 1 additions and 1 deletions

View File

@ -1260,7 +1260,7 @@ media_add(Evas_Object *parent, const char *src, const Config *config, int mode,
if (!sd->url)
{
Efreet_Uri *uri;
const char *file_path = eina_stringshare_printf("file:%s", sd->src);
const char *file_path = eina_stringshare_printf("file://%s", sd->src);
uri = efreet_uri_decode(file_path);
eina_stringshare_del(file_path);
if (!uri)