* src/textview.c
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Thu, 19 Dec 2002 22:36:43 +0000 (22:36 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Thu, 19 Dec 2002 22:36:43 +0000 (22:36 +0000)
fix incorrect parsing of email addresses, submitted by
Luke Plant (thanks!). Closes bug "[ 565480 ] duplicate
name display if it contains @".

ChangeLog.claws
configure.in
src/textview.c

index 7d1edb244f66c5f23ab61403017ab799540216d1..e85688974d16d11b35e97ce7080c74206e259cbe 100644 (file)
@@ -1,3 +1,10 @@
+2002-12-19 [alfons]    0.8.6claws117
+
+       * src/textview.c
+               fix incorrect parsing of email addresses, submitted by 
+               Luke Plant (thanks!). Closes bug "[ 565480 ] duplicate 
+               name display if it contains @".
+
 2002-12-18 [paul]      0.8.6claws116
 
        * sync with 0.8.6cvs23
index efc2ac7e8b25f7476caed7b916c04252e42f370a..b9de378e16a84d60bc997d98c4b9fd60a3f61dc9 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=6
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws116
+EXTRA_VERSION=claws117
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 12aa2b17b3f7847cc2a2dce9f40f670e10f8b45c..6c855123b49956da0c185b1b778da5350e08f80d 100644 (file)
@@ -992,7 +992,7 @@ static void textview_make_clickable_parts(TextView *textview,
 
                if (scanpos) {
                        /* check if URI can be parsed */
-                       if (parser[last_index].parse(linebuf, scanpos, &bp, &ep)
+                       if (parser[last_index].parse(walk, scanpos, &bp, &ep)
                            && (size_t) (ep - bp - 1) > strlen(parser[last_index].needle)) {
                                        ADD_TXT_POS(bp, ep, last_index);
                                        walk = ep;