2009-11-07 [colin] 3.7.3cvs11
authorColin Leroy <colin@colino.net>
Sat, 7 Nov 2009 17:41:42 +0000 (17:41 +0000)
committerColin Leroy <colin@colino.net>
Sat, 7 Nov 2009 17:41:42 +0000 (17:41 +0000)
* src/gtk/spell_entry.c
Fix bug 2040, 'numbers in subject entry marked as misspelled'
Patch by Pawel Pekala

ChangeLog
PATCHSETS
configure.ac
src/gtk/spell_entry.c

index 63046a6a0a66cf8e7eff7b8cd94af6ee3e71b2f7..241900e090d159245a93462760dcbdc2b80890a4 100644 (file)
--- 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
index 308a6b67ef2746babc8ce1d638fb70bbbd9e2648..3d87fe77015a12d1d67f4f5260cec7a5e8a8f058 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( 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
index 80a2984eb300ee044e0987253c03e5b37b562acb..b11d915ee308ac242ef213d313d5d66365bc0b44 100644 (file)
@@ -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=
 
index 8783a31fad53f028d9d8a462592c8fc3c5353328..da62bb26ae4df9ef68b6a2ab2b13ed2034c823ed 100644 (file)
@@ -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);