From 2fceb4c32e2fc9716398e2a7d22e77a658acfd9a Mon Sep 17 00:00:00 2001 From: Chris Frey Date: Fri, 14 Jan 2011 15:19:10 -0500 Subject: [PATCH] Fixed bug in vformat.c _fold_lines() when QUOTED-PRINTABLE is in use --- ChangeLog | 3 +++ src/vformat.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 1ae8e4f1..9b598b5e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ Release: version 0.17.0 - 2010/01/?? ------------------------------------------------------------------------------ +2011/01/14 + - lib: fixed bug in vformat.c _fold_lines() when QUOTED-PRINTABLE + is in use 2011/01/07 - merged zsh completion scripts (btool,btardump) from Nicolas Vivien 2010/12/31 diff --git a/src/vformat.c b/src/vformat.c index 1d611f18..4ce03838 100644 --- a/src/vformat.c +++ b/src/vformat.c @@ -145,6 +145,9 @@ static char *_fold_lines (char *buf) if (*next2 == '\n' || *next2 == '\r' || *next2 == ' ' || *next2 == '\t') { p = g_utf8_next_char (next2); } + else if(quotedprintable) { + p = g_utf8_next_char (next); + } else { str = g_string_append (str, CRLF); p = g_utf8_next_char (next); -- 2.11.4.GIT