small patch - make `xxxxyyy...xxx' quotes detected by link checker too.

SVN revision: 74308
This commit is contained in:
Carsten Haitzler 2012-07-23 08:11:42 +00:00
parent 57f71763e1
commit 7bce758c1d
2 changed files with 3 additions and 1 deletions

View File

@ -76,12 +76,14 @@ _termio_link_find(Evas_Object *obj, int cx, int cy, int *x1r, int *y1r, int *x2r
}
else if ((isspace(s[0])) ||
(s[0] == '"') ||
(s[0] == '`') ||
(s[0] == '\'') ||
(s[0] == '<') ||
(s[0] == '='))
{
if (s[0] == '"') endmatch = '"';
else if (s[0] == '\'') endmatch = '\'';
else if (s[0] == '`') endmatch = '\'';
else if (s[0] == '<') endmatch = '>';
if ((!strncasecmp((s + 1), "www.", 4)) ||
(!strncasecmp((s + 1), "ftp.", 4)) ||

View File

@ -11,7 +11,7 @@ _termpty_is_dblwidth_get(Termpty *ty, int g)
// check for east asian full-width (F), half-width (H), wide (W),
// narrow (Na) or ambiguous (A) codepoints
// ftp://ftp.unicode.org/Public/UNIDATA/EastAsianWidth.txt
// optimize for latin1 non-ambiguous
if (g <= 0xa0)
return EINA_FALSE;