Fixing operator so that bCheckRight isn't always true. Unknown effect!
authorBruce Dawson <brucedawson@google.com>
Tue, 18 Nov 2014 21:50:28 +0000 (13:50 -0800)
committerBruce Dawson <brucedawson@google.com>
Tue, 18 Nov 2014 21:50:28 +0000 (13:50 -0800)
commit0d8b679fb2dbb3f4df9437f2a2b618e1eab1aa1b
tree9aefa185e91274d6f170bb208acf655f695065ab
parentf4aceedd4da965e62df5340a8f06c36d5fc3bbc1
Fixing operator so that bCheckRight isn't always true. Unknown effect!

VC++'s /analyze points out that this expression:
    FX_BOOL bCheckRight = type != 'D' || type != 'W';"
is always true. This means that the tests for the right edge of a word

Original patch from Bruce Dawson(brucedawson@chromium.org)

BUG=427616
R=jun_fang@foxitsoftware.com

Review URL: https://codereview.chromium.org/731673003
core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp