viking

webkit based web browser for Enlightenment
Log | Files | Refs | LICENSE

commit ed96fcc95a9f8e459ea677d6b093285e346777b6
parent ae602d307bcb78ee4229ac94ce21b2acd0ac987d
Author: Kyle Milz <kmilz@ucalgary.ca>
Date:   Sat, 20 Oct 2012 00:05:00 -0600

utilites: open relative file paths

Diffstat:
Msrc/utilities.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/utilities.c b/src/utilities.c @@ -628,7 +628,7 @@ uri_sanitize(const char *uri) if (len > 3 && tmp) eina_strbuf_append(buf, uri); else if (ecore_file_exists(uri)) - eina_strbuf_append_printf(buf, "file://%s", uri); + eina_strbuf_append_printf(buf, "file://%s", ecore_file_realpath(uri)); else if (spaces || !strchr(uri, '.')) eina_strbuf_append_printf(buf, "https://duckduckgo.com/html/?q=%s", uri); else