2005-09-28 [paul] 1.9.14cvs59
authorPaul Mangan <paul@claws-mail.org>
Wed, 28 Sep 2005 09:19:10 +0000 (09:19 +0000)
committerPaul Mangan <paul@claws-mail.org>
Wed, 28 Sep 2005 09:19:10 +0000 (09:19 +0000)
* src/gtk/gtkaspell.c
fix off-by-one typo

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

index 7206d046d6406f77195fa5980e3fd668235b27f6..76334d5be4a51d4e6067086cdb26898fd1d5ca54 100644 (file)
@@ -1,3 +1,8 @@
+2005-09-28 [paul]      1.9.14cvs59
+
+       * src/gtk/gtkaspell.c
+               fix off-by-one typo
+
 2005-09-27 [colin]     1.9.14cvs58
 
        * src/plugins/pgpcore/sgpgme.c
index 16d458571607c96d3a3d4f7d40668632c5b524d1..ec7d0aeb1582000ba5f9ff515bb84cf33d66adbd 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.65.2.39 -r 1.65.2.40 src/codeconv.c;  cvs diff -u -r 1.382.2.176 -r 1.382.2.177 src/compose.c;  cvs diff -u -r 1.50.2.13 -r 1.50.2.14 src/compose.h;  ) > 1.9.14cvs56.patchset
 ( cvs diff -u -r 1.1.2.5 -r 1.1.2.6 src/prefs_quote.c;  ) > 1.9.14cvs57.patchset
 ( cvs diff -u -r 1.1.2.8 -r 1.1.2.9 src/plugins/pgpcore/sgpgme.c;  ) > 1.9.14cvs58.patchset
+( cvs diff -u -r 1.9.2.29 -r 1.9.2.30 src/gtk/gtkaspell.c;  ) > 1.9.14cvs59.patchset
index 9eebe87ffd9e06669eaf17440e4f111385b612b7..595883b451f920283cd618df8337bfda7d6edab0 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=14
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=58
+EXTRA_VERSION=59
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 98e1ceccfc4fd42d63b5dc8a9c61e2292d379eac..18de6b3f83705bda478f738a992b07691bce4bcf 100644 (file)
@@ -1043,7 +1043,7 @@ static gboolean get_word_from_pos(GtkAspell *gtkaspell, gint pos,
                                gtkaspell->gtkaspeller->dictionary->encoding);
                        g_free(tmp);
                        strncpy(buf, conv, buflen-1);
-                       buf[buflen]='\0';
+                       buf[buflen-1]='\0';
                        g_free(conv);
                } else
                        return FALSE;