diff options
author | thestig <thestig@chromium.org> | 2016-04-29 18:14:37 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-29 18:14:37 -0700 |
commit | 8c32dfa88b9deedb5add135301a0f6b1128882ed (patch) | |
tree | ea2b004c4286b3b16113189b16a274dafe9c8163 /fpdfsdk/fxedit | |
parent | e801d4e064690fbe1815d25d220cfbca79976a4f (diff) | |
download | pdfium-8c32dfa88b9deedb5add135301a0f6b1128882ed.tar.xz |
Subtract instead of adding the negation.
Do more cleanup in modified files.
Review-Url: https://codereview.chromium.org/1938613003
Diffstat (limited to 'fpdfsdk/fxedit')
-rw-r--r-- | fpdfsdk/fxedit/fxet_edit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/fxedit/fxet_edit.cpp b/fpdfsdk/fxedit/fxet_edit.cpp index 07a9d864d7..bdd2c75325 100644 --- a/fpdfsdk/fxedit/fxet_edit.cpp +++ b/fpdfsdk/fxedit/fxet_edit.cpp @@ -219,7 +219,7 @@ void CFX_Edit_Refresh::Analyse(int32_t nAlignment) { rcResult.left = rcResult.right - fWidthDiff; } else { rcResult.left = rcResult.right; - rcResult.right += (-fWidthDiff); + rcResult.right -= fWidthDiff; } } m_RefreshRects.Add(rcResult); |