summaryrefslogtreecommitdiff
path: root/fpdfsdk/pdfwindow/PWL_ScrollBar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/pdfwindow/PWL_ScrollBar.cpp')
-rw-r--r--fpdfsdk/pdfwindow/PWL_ScrollBar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/pdfwindow/PWL_ScrollBar.cpp b/fpdfsdk/pdfwindow/PWL_ScrollBar.cpp
index a202513b92..652c8e1f45 100644
--- a/fpdfsdk/pdfwindow/PWL_ScrollBar.cpp
+++ b/fpdfsdk/pdfwindow/PWL_ScrollBar.cpp
@@ -723,13 +723,13 @@ bool CPWL_ScrollBar::OnLButtonDown(const CFX_PointF& point, uint32_t nFlag) {
rcMinArea.Normalize();
rcMaxArea.Normalize();
- if (rcMinArea.Contains(point.x, point.y)) {
+ if (rcMinArea.Contains(point)) {
m_sData.SubBig();
MovePosButton(true);
NotifyScrollWindow();
}
- if (rcMaxArea.Contains(point.x, point.y)) {
+ if (rcMaxArea.Contains(point)) {
m_sData.AddBig();
MovePosButton(true);
NotifyScrollWindow();