summaryrefslogtreecommitdiff
path: root/xfa/src
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/src')
-rw-r--r--xfa/src/fxfa/src/app/xfa_ffpageview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/src/fxfa/src/app/xfa_ffpageview.cpp b/xfa/src/fxfa/src/app/xfa_ffpageview.cpp
index c083c2b141..0780ab7e0f 100644
--- a/xfa/src/fxfa/src/app/xfa_ffpageview.cpp
+++ b/xfa/src/fxfa/src/app/xfa_ffpageview.cpp
@@ -63,7 +63,7 @@ IXFA_Widget* CXFA_FFPageView::GetWidgetByPos(FX_FLOAT fx, FX_FLOAT fy) {
}
IXFA_WidgetIterator* pIterator = CreateWidgetIterator();
CXFA_FFWidget* pWidget = nullptr;
- while (pWidget = static_cast<CXFA_FFWidget*>(pIterator->MoveToNext())) {
+ while ((pWidget = static_cast<CXFA_FFWidget*>(pIterator->MoveToNext()))) {
if (!(pWidget->GetStatus() & XFA_WIDGETSTATUS_Visible)) {
continue;
}