talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit e64cc3c9a527e6937164aaf9f2df861bfd5f32d4
parent bff075f4c8fa7fa17b7f8589477ba52fe7c137dd
Author: Colin Leroy <colin@colino.net>
Date:   Sat,  7 Nov 2009 17:41:42 +0000

2009-11-07 [colin]	3.7.3cvs11

	* src/gtk/spell_entry.c
		Fix bug 2040, 'numbers in subject entry marked as misspelled'
		Patch by Pawel Pekala

Diffstat:
MChangeLog | 6++++++
MPATCHSETS | 1+
Mconfigure.ac | 2+-
Msrc/gtk/spell_entry.c | 2+-
4 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,9 @@ +2009-11-07 [colin] 3.7.3cvs11 + + * src/gtk/spell_entry.c + Fix bug 2040, 'numbers in subject entry marked as misspelled' + Patch by Pawel Pekala + 2009-10-27 [colin] 3.7.3cvs10 * src/folder.c diff --git a/PATCHSETS b/PATCHSETS @@ -3884,3 +3884,4 @@ ( cvs diff -u -r 1.36.2.177 -r 1.36.2.178 src/common/utils.c; ) > 3.7.3cvs8.patchset ( cvs diff -u -r 1.274.2.303 -r 1.274.2.304 src/mainwindow.c; ) > 3.7.3cvs9.patchset ( cvs diff -u -r 1.213.2.194 -r 1.213.2.195 src/folder.c; ) > 3.7.3cvs10.patchset +( cvs diff -u -r 1.1.2.8 -r 1.1.2.9 src/gtk/spell_entry.c; ) > 3.7.3cvs11.patchset diff --git a/configure.ac b/configure.ac @@ -12,7 +12,7 @@ MINOR_VERSION=7 MICRO_VERSION=3 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=10 +EXTRA_VERSION=11 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/gtk/spell_entry.c b/src/gtk/spell_entry.c @@ -248,7 +248,7 @@ static gboolean word_misspelled(ClawsSpellEntry *entry, int start, int end) gboolean ret; word = get_word(entry, start, end); - if (word == NULL) + if (word == NULL || g_unichar_isdigit(word[0])) return FALSE; ret = gtkaspell_misspelled_test(entry->gtkaspell, word);