fix link detection on links starting at first char of the screen.

Closes T2438
This commit is contained in:
Boris Faure 2015-05-27 22:28:06 +02:00
parent f2239735ab
commit 16c184a9d2
1 changed files with 9 additions and 6 deletions

View File

@ -137,6 +137,8 @@ _termio_link_find(Evas_Object *obj, int cx, int cy,
case '{': endmatch = '}'; break;
case '(': endmatch = ')'; break;
}
if (!(x1 == 0 && y1 == 0))
{
coord_forward(&x1, &y1, w, h);
free(s);
@ -145,6 +147,7 @@ _termio_link_find(Evas_Object *obj, int cx, int cy,
&len, EINA_FALSE);
if (!s) break;
}
}
else
{
switch (s[0])