sync with 0.8.6cvs22
[claws.git] / src / codeconv.c
index b11aed446c5a0cdb760c8ac13f2877f4d92719d6..e7c4cb70a91d3ec6376714bf891378ca05619781 100644 (file)
@@ -1058,7 +1058,7 @@ void conv_unmime_header(gchar *outbuf, gint outlen, const gchar *str,
 
 #define LBREAK_IF_REQUIRED(cond)                               \
 {                                                              \
-       if (len - (destp - dest) < MAX_LINELEN) {               \
+       if (len - (destp - dest) < MAX_LINELEN + 2) {           \
                *destp = '\0';                                  \
                return;                                         \
        }                                                       \