forked from enlightenment/terminology
links: isspace() \ { \n, \r } as separtors
This commit is contained in:
parent
b9ec1cad13
commit
3ed65bbcdc
|
@ -171,8 +171,9 @@ _termio_link_find(Evas_Object *obj, int cx, int cy,
|
||||||
{
|
{
|
||||||
char end = s[len - 1];
|
char end = s[len - 1];
|
||||||
|
|
||||||
if (((endmatch) && (end == endmatch)) ||
|
if ((end == endmatch) ||
|
||||||
((!endmatch) && (!escaped) && (isspace(end))))
|
((!escaped) && (isspace(end)) &&
|
||||||
|
((end != '\n') || (end != '\r'))))
|
||||||
{
|
{
|
||||||
goforward = EINA_FALSE;
|
goforward = EINA_FALSE;
|
||||||
coord_back(&x2, &y2, w, h);
|
coord_back(&x2, &y2, w, h);
|
||||||
|
|
Loading…
Reference in New Issue