2011-11-08 [colin] 3.7.10cvs79
authorColin Leroy <colin@colino.net>
Tue, 8 Nov 2011 16:09:27 +0000 (16:09 +0000)
committerColin Leroy <colin@colino.net>
Tue, 8 Nov 2011 16:09:27 +0000 (16:09 +0000)
* src/codeconv.c
Make sure we break line when we need to. Very probably
fixes bug #2310 "Crash when hitting Ctrl+R to reply to a
particular mail"

ChangeLog
PATCHSETS
configure.ac
src/codeconv.c

index de11e6b..12ffa2d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-11-08 [colin]     3.7.10cvs79
+
+       * src/codeconv.c
+               Make sure we break line when we need to. Very probably
+               fixes bug #2310 "Crash when hitting Ctrl+R to reply to a 
+               particular mail"
+
 2011-11-07 [pawel]     3.7.10cvs78
 
        * src/imap_gtk.c
index 7b44b18..8a314ea 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.274.2.334 -r 1.274.2.335 src/mainwindow.c;  ) > 3.7.10cvs76.patchset
 ( cvs diff -u -r 1.83.2.178 -r 1.83.2.179 src/mimeview.c;  cvs diff -u -r 1.96.2.235 -r 1.96.2.236 src/textview.c;  cvs diff -u -r 1.12.2.27 -r 1.12.2.28 src/textview.h;  ) > 3.7.10cvs77.patchset
 ( cvs diff -u -r 1.1.2.66 -r 1.1.2.67 src/imap_gtk.c;  ) > 3.7.10cvs78.patchset
+( cvs diff -u -r 1.65.2.73 -r 1.65.2.74 src/codeconv.c;  ) > 3.7.10cvs79.patchset
index 763efc9..1bdf916 100644 (file)
@@ -12,7 +12,7 @@ MINOR_VERSION=7
 MICRO_VERSION=10
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=78
+EXTRA_VERSION=79
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 98f5e32..71fa9c1 100644 (file)
@@ -1693,6 +1693,7 @@ void conv_encode_header_full(gchar *dest, gint len, const gchar *src,
                                        cur_len += mb_len;
                                        p += mb_len;
                                } else if (cur_len == 0) {
+                                       left = 0;
                                        LBREAK_IF_REQUIRED(1, FALSE);
                                        continue;
                                } else {