small patch - make `xxxxyyy...xxx' quotes detected by link checker too.
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 23 Jul 2012 08:11:42 +0000 (08:11 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 23 Jul 2012 08:11:42 +0000 (08:11 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/terminology@74308 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/termiolink.c
src/bin/termptydbl.c

index 4bd6c84..6d84f19 100644 (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)) ||
index c490b1d..701d248 100644 (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;