Fix decoding quoted printable multiline string with blank space

on beginning of line in libkcal/versit
This resolves bug 2688

Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
pull/21/head
Emanoil Kotsev 8 years ago committed by Slávek Banko
parent 63c4d2db47
commit f26592c412

@ -2264,6 +2264,7 @@ static char* lexGetQuotedPrintable()
/* single '=' follow by LINESEP is continuation sign? */ /* single '=' follow by LINESEP is continuation sign? */
if (next[0] == '\n') { if (next[0] == '\n') {
++mime_lineNum; ++mime_lineNum;
lexSkipWhite();
} }
else { else {
lexPushLookaheadc('='); lexPushLookaheadc('=');

@ -1000,6 +1000,7 @@ static char* lexGetQuotedPrintable()
/* single '=' follow by LINESEP is continuation sign? */ /* single '=' follow by LINESEP is continuation sign? */
if (next[0] == '\n') { if (next[0] == '\n') {
++mime_lineNum; ++mime_lineNum;
lexSkipWhite();
} }
else { else {
lexPushLookaheadc('='); lexPushLookaheadc('=');

Loading…
Cancel
Save