forked from enlightenment/terminology
fix link detection on links starting at first char of the screen.
Closes T2438
This commit is contained in:
parent
f2239735ab
commit
16c184a9d2
|
@ -137,13 +137,16 @@ _termio_link_find(Evas_Object *obj, int cx, int cy,
|
||||||
case '{': endmatch = '}'; break;
|
case '{': endmatch = '}'; break;
|
||||||
case '(': endmatch = ')'; break;
|
case '(': endmatch = ')'; break;
|
||||||
}
|
}
|
||||||
coord_forward(&x1, &y1, w, h);
|
if (!(x1 == 0 && y1 == 0))
|
||||||
|
{
|
||||||
|
coord_forward(&x1, &y1, w, h);
|
||||||
|
|
||||||
free(s);
|
free(s);
|
||||||
prev_len = len;
|
prev_len = len;
|
||||||
s = termio_selection_get(obj, x1, y1 - sc, x2, y2 - sc,
|
s = termio_selection_get(obj, x1, y1 - sc, x2, y2 - sc,
|
||||||
&len, EINA_FALSE);
|
&len, EINA_FALSE);
|
||||||
if (!s) break;
|
if (!s) break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue