diff options
Diffstat (limited to 'fpdfsdk/pdfwindow')
-rw-r--r-- | fpdfsdk/pdfwindow/PWL_ScrollBar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/pdfwindow/PWL_ScrollBar.cpp b/fpdfsdk/pdfwindow/PWL_ScrollBar.cpp index 9289f44aa0..1c3efb1faa 100644 --- a/fpdfsdk/pdfwindow/PWL_ScrollBar.cpp +++ b/fpdfsdk/pdfwindow/PWL_ScrollBar.cpp @@ -1003,12 +1003,12 @@ void CPWL_ScrollBar::OnPosButtonMouseMove(const CFX_PointF& point) { switch (m_sbType) { case SBT_HSCROLL: - if (FXSYS_fabs(point.x - m_nOldPos) < 1) + if (fabs(point.x - m_nOldPos) < 1) return; fNewPos = FaceToTrue(m_fOldPosButton + point.x - m_nOldPos); break; case SBT_VSCROLL: - if (FXSYS_fabs(point.y - m_nOldPos) < 1) + if (fabs(point.y - m_nOldPos) < 1) return; fNewPos = FaceToTrue(m_fOldPosButton + point.y - m_nOldPos); break; |