forked from enlightenment/terminology
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:
parent
27f60de90b
commit
eea3338a43
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue