From: Colin Leroy Date: Sun, 13 Feb 2005 18:46:45 +0000 (+0000) Subject: 2005-02-13 [colin] 1.0.1cvs5.2 X-Git-Tag: rel_1_9_6~46 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=d255473787fcc4baf916e7339b4479d6c5c05a1b;ds=sidebyside 2005-02-13 [colin] 1.0.1cvs5.2 * src/textview.c Fix email informative part parsing with accentued chars in it. ispunct() returns true for them in utf8... --- diff --git a/ChangeLog-gtk2.claws b/ChangeLog-gtk2.claws index eadb16750..9d4fab4d4 100644 --- a/ChangeLog-gtk2.claws +++ b/ChangeLog-gtk2.claws @@ -1,3 +1,10 @@ +2005-02-13 [colin] 1.0.1cvs5.2 + + * src/textview.c + Fix email informative part parsing with + accentued chars in it. ispunct() returns + true for them in utf8... + 2005-02-12 [colin] 1.0.1cvs5.1 * src/filtering.c diff --git a/PATCHSETS b/PATCHSETS index c09366b7a..3b7fc4355 100644 --- a/PATCHSETS +++ b/PATCHSETS @@ -375,3 +375,4 @@ ( cvs diff -u -r 1.96.2.44 -r 1.96.2.45 src/textview.c; ) > 1.0.1cvs4.4.patchset ( cvs diff -u -r 1.96.2.45 -r 1.96.2.46 src/textview.c; ) > 1.0.1cvs4.5.patchset ( cvs diff -u -r 1.60.2.4 -r 1.60.2.5 src/filtering.c; ) > 1.0.1cvs5.1.patchset +( cvs diff -u -r 1.96.2.46 -r 1.96.2.47 src/textview.c; ) > 1.0.1cvs5.2.patchset diff --git a/configure.ac b/configure.ac index 102e164b1..8cf1e697a 100644 --- a/configure.ac +++ b/configure.ac @@ -13,7 +13,7 @@ INTERFACE_AGE=0 BINARY_AGE=0 EXTRA_VERSION=5 EXTRA_RELEASE= -EXTRA_GTK2_VERSION=.1 +EXTRA_GTK2_VERSION=.2 if test \( $EXTRA_VERSION -eq 0 \) -o \( "x$EXTRA_RELEASE" != "x" \); then VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}${EXTRA_RELEASE}${EXTRA_GTK2_VERSION} diff --git a/src/textview.c b/src/textview.c index c5356b519..831242566 100644 --- a/src/textview.c +++ b/src/textview.c @@ -985,7 +985,7 @@ static gboolean get_email_part(const gchar *start, const gchar *scanpos, && (((bp_ + 1) < ep_) && isalnum(*(bp_ + 1)))) { /* hyphens are allowed, but only in between alnums */ - } else if (!ispunct(*bp_)) { + } else if (!strchr(",;:=?./+<>!&", *bp_)) { /* but anything not being a punctiation is ok */ } else {