aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/termiolink.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2013-06-02 18:52:28 +0200
committerBoris Faure <billiob@gmail.com>2013-06-02 18:52:28 +0200
commit21cd9d5ceca3f7d441a7caac45b07adf8043383e (patch)
treece421206de054fe1ba6a829397d36f0753775a8b /src/bin/termiolink.c
parentsimplify code to make separators in single func. (diff)
downloadterminology-21cd9d5ceca3f7d441a7caac45b07adf8043383e.tar.gz
fix link detection when hover the h in ttp:/…
When the separator in the left is found, we may only have ' ht' so far.
Diffstat (limited to 'src/bin/termiolink.c')
-rw-r--r--src/bin/termiolink.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/bin/termiolink.c b/src/bin/termiolink.c
index 188d2c7..83ba176 100644
--- a/src/bin/termiolink.c
+++ b/src/bin/termiolink.c
@@ -150,20 +150,11 @@ _termio_link_find(Evas_Object *obj, int cx, int cy,
goback = EINA_FALSE;
coord_forward(&x1, &y1, w, h);
}
- else if (len > 2 && strchr((s + 2), '@'))
+ else
{
goback = EINA_FALSE;
coord_forward(&x1, &y1, w, h);
}
- else if (s[0] == '=')
- {
- }
- else
- {
- free(s);
- s = NULL;
- break;
- }
}
}
if (goforward)