diff options
author | Carsten Haitzler <raster@rasterman.com> | 2012-07-23 08:11:42 +0000 |
---|---|---|
committer | Carsten Haitzler <raster@rasterman.com> | 2012-07-23 08:11:42 +0000 |
commit | 7bce758c1d2747613817566ddf866396c8fae6fb (patch) | |
tree | 3c4180af6c5aa0d6b2d3595883ca9ee17e0cc613 /src | |
parent | 57f71763e147eee43b8f0d44bc6ff307d06031b6 (diff) |
small patch - make `xxxxyyy...xxx' quotes detected by link checker too.
SVN revision: 74308
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/termiolink.c | 2 | ||||
-rw-r--r-- | src/bin/termptydbl.c | 2 |
2 files changed, 3 insertions, 1 deletions
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 | |||
76 | } | 76 | } |
77 | else if ((isspace(s[0])) || | 77 | else if ((isspace(s[0])) || |
78 | (s[0] == '"') || | 78 | (s[0] == '"') || |
79 | (s[0] == '`') || | ||
79 | (s[0] == '\'') || | 80 | (s[0] == '\'') || |
80 | (s[0] == '<') || | 81 | (s[0] == '<') || |
81 | (s[0] == '=')) | 82 | (s[0] == '=')) |
82 | { | 83 | { |
83 | if (s[0] == '"') endmatch = '"'; | 84 | if (s[0] == '"') endmatch = '"'; |
84 | else if (s[0] == '\'') endmatch = '\''; | 85 | else if (s[0] == '\'') endmatch = '\''; |
86 | else if (s[0] == '`') endmatch = '\''; | ||
85 | else if (s[0] == '<') endmatch = '>'; | 87 | else if (s[0] == '<') endmatch = '>'; |
86 | if ((!strncasecmp((s + 1), "www.", 4)) || | 88 | if ((!strncasecmp((s + 1), "www.", 4)) || |
87 | (!strncasecmp((s + 1), "ftp.", 4)) || | 89 | (!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) | |||
11 | // check for east asian full-width (F), half-width (H), wide (W), | 11 | // check for east asian full-width (F), half-width (H), wide (W), |
12 | // narrow (Na) or ambiguous (A) codepoints | 12 | // narrow (Na) or ambiguous (A) codepoints |
13 | // ftp://ftp.unicode.org/Public/UNIDATA/EastAsianWidth.txt | 13 | // ftp://ftp.unicode.org/Public/UNIDATA/EastAsianWidth.txt |
14 | 14 | ||
15 | // optimize for latin1 non-ambiguous | 15 | // optimize for latin1 non-ambiguous |
16 | if (g <= 0xa0) | 16 | if (g <= 0xa0) |
17 | return EINA_FALSE; | 17 | return EINA_FALSE; |