commit cbb4e89c08d977bd61378848ad8d83f2a81d7160
parent 9884a2c1fcb56c510b8e8a2a9f3a0afed81b0f55
Author: Kyle Milz <kmilz@ucalgary.ca>
Date: Sat, 20 Oct 2012 00:57:34 -0600
utilities: filter out file:// also
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/utilities.c b/src/utilities.c
@@ -574,6 +574,9 @@ make_url(Evas_Object *label, Buffer_Data *bd)
url += 7;
else if (strncmp(url, "https://", 8) == 0)
url += 8;
+ if (strncmp(url, "file://", 7) == 0)
+ url += 7;
+
/*
if (!strncmp(uri, "https://", 8)) {
Evas_Object *frame = ewk_view_frame_main_get(bd->view);