From: raster Date: Mon, 23 Jul 2012 08:11:42 +0000 (+0000) Subject: small patch - make `xxxxyyy...xxx' quotes detected by link checker too. X-Git-Tag: upstream/0.1~128 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d0736de98f61d388437cede6546a350529ee1dd9;p=platform%2Fupstream%2Fterminology.git small patch - make `xxxxyyy...xxx' quotes detected by link checker too. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/terminology@74308 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/bin/termiolink.c b/src/bin/termiolink.c index 4bd6c84..6d84f19 100644 --- a/src/bin/termiolink.c +++ b/src/bin/termiolink.c @@ -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)) || diff --git a/src/bin/termptydbl.c b/src/bin/termptydbl.c index c490b1d..701d248 100644 --- a/src/bin/termptydbl.c +++ b/src/bin/termptydbl.c @@ -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;