Update quotedprintable.cpp

Some compilators can interpret this differently (gcc shows warning about this)
This commit is contained in:
Alexey Kasyanchuk 2014-07-20 10:27:23 +03:00
parent 076034a612
commit 649ea30336

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
{ {