Index: fpdfsdk/fxedit/fxet_edit.cpp |
diff --git a/fpdfsdk/fxedit/fxet_edit.cpp b/fpdfsdk/fxedit/fxet_edit.cpp |
index 07a9d864d7c6863687d769c7e98c1407b0d0233f..bdd2c753251066a4e4403cb5b69e69639b0ab962 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); |