2005-09-26 [colin] 1.9.14cvs55
authorColin Leroy <colin@colino.net>
Mon, 26 Sep 2005 18:48:53 +0000 (18:48 +0000)
committerColin Leroy <colin@colino.net>
Mon, 26 Sep 2005 18:48:53 +0000 (18:48 +0000)
* src/gtk/gtkaspell.c
Fix previous patch - don't color the space,
just uncolor it :)

ChangeLog-gtk2.claws
PATCHSETS
configure.ac
src/gtk/gtkaspell.c

index 09382ca5aae2262033f63590fbb4f8a8df12ed02..3b08c6fcf4f7a8e12471b4b2db4108f45d50fd32 100644 (file)
@@ -1,3 +1,9 @@
+2005-09-26 [colin]     1.9.14cvs55
+
+       * src/gtk/gtkaspell.c
+               Fix previous patch - don't color the space,
+               just uncolor it :)
+
 2005-09-26 [colin]     1.9.14cvs54
 
        * src/gtk/gtkaspell.c
index 878aac661caa086696ab95110de1f0bc23ea31b3..bb578f88e57aed42a871800e7f744058d4e6a541 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.3.2.2 -r 1.3.2.3 src/common/passcrypt.c;  ) > 1.9.14cvs52.patchset
 ( cvs diff -u -r 1.179.2.72 -r 1.179.2.73 src/imap.c;  cvs diff -u -r 1.1.4.20 -r 1.1.4.21 src/etpan/imap-thread.c;  cvs diff -u -r 1.1.2.24 -r 1.1.2.25 src/plugins/pgpmime/pgpmime.c;  ) > 1.9.14cvs53.patchset
 ( cvs diff -u -r 1.9.2.27 -r 1.9.2.28 src/gtk/gtkaspell.c;  ) > 1.9.14cvs54.patchset
+( cvs diff -u -r 1.9.2.28 -r 1.9.2.29 src/gtk/gtkaspell.c;  ) > 1.9.14cvs55.patchset
index 10f84d045d194eb810b368ac59c3a293f85616d8..7cc9072092f5c4651cc8a62dc3a020ade5ce0cab 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=14
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=54
+EXTRA_VERSION=55
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 06ea0db796dc1a89866e49b0881a2b78d03354ac..98e1ceccfc4fd42d63b5dc8a9c61e2292d379eac 100644 (file)
@@ -2427,13 +2427,14 @@ static void change_color(GtkAspell * gtkaspell,
        buffer = gtk_text_view_get_buffer(gtktext);
        gtk_text_buffer_get_iter_at_offset(buffer, &startiter, start);
        gtk_text_buffer_get_iter_at_offset(buffer, &enditer, end);
-       gtk_text_iter_forward_char(&enditer);
        if (color)
                gtk_text_buffer_apply_tag_by_name(buffer, "misspelled",
                                                  &startiter, &enditer);
-       else
+       else {
+               gtk_text_iter_forward_char(&enditer);
                gtk_text_buffer_remove_tag_by_name(buffer, "misspelled",
                                                   &startiter, &enditer);
+       }
 }
 
 /* convert_to_aspell_encoding () - converts ISO-8859-* strings to iso8859-*