fix link detection on links starting at first char of the screen.
Closes T2438
This commit is contained in:
parent
f2239735ab
commit
16c184a9d2
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue