summaryrefslogtreecommitdiff
path: root/fpdfsdk/fxedit/fxet_edit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/fxedit/fxet_edit.cpp')
-rw-r--r--fpdfsdk/fxedit/fxet_edit.cpp2
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);