diff options
Diffstat (limited to 'xfa/src/fwl/src/basewidget/fwl_editimp.cpp')
-rw-r--r-- | xfa/src/fwl/src/basewidget/fwl_editimp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/src/fwl/src/basewidget/fwl_editimp.cpp b/xfa/src/fwl/src/basewidget/fwl_editimp.cpp index a35d1e60bf..c9ce62ece7 100644 --- a/xfa/src/fwl/src/basewidget/fwl_editimp.cpp +++ b/xfa/src/fwl/src/basewidget/fwl_editimp.cpp @@ -1314,7 +1314,7 @@ FX_BOOL CFWL_EditImp::UpdateOffset() { }
FX_BOOL CFWL_EditImp::UpdateOffset(IFWL_ScrollBar* pScrollBar,
FX_FLOAT fPosChanged) {
- if (pScrollBar == m_pHorzScrollBar) {
+ if (pScrollBar == m_pHorzScrollBar.get()) {
m_fScrollOffsetX += fPosChanged;
} else {
m_fScrollOffsetY += fPosChanged;
|