Merge pull request #27 from DEgITx/patch-1

Update quotedprintable.cpp
This commit is contained in:
Tőkés Attila 2014-10-30 21:31:33 +02:00
commit 235a350a34

View File

@ -56,7 +56,8 @@ QByteArray& QuotedPrintable::decode(const QString &input)
{ {
if (input.at(i).toLatin1() == '=') if (input.at(i).toLatin1() == '=')
{ {
output->append((hexVal[input.at(++i).toLatin1() - '0'] << 4) + hexVal[input.at(++i).toLatin1() - '0']); output->append((hexVal[input.at(i + 1).toLatin1() - '0'] << 4) + hexVal[input.at(i + 2).toLatin1() - '0']);
i += 2;
} }
else else
{ {