summaryrefslogtreecommitdiff
path: root/xfa/fwl/core
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/core')
-rw-r--r--xfa/fwl/core/cfwl_widgetmgr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fwl/core/cfwl_widgetmgr.cpp b/xfa/fwl/core/cfwl_widgetmgr.cpp
index 760be7107b..90d621477a 100644
--- a/xfa/fwl/core/cfwl_widgetmgr.cpp
+++ b/xfa/fwl/core/cfwl_widgetmgr.cpp
@@ -816,8 +816,8 @@ FX_BOOL CFWL_WidgetMgrDelegate::IsNeedRepaint(IFWL_Widget* pWidget,
if (r.Contains(hitPoint[i].hitPoint))
hitPoint[i].bNotNeedRepaint = true;
}
- } while (
- (pChild = CFWL_WidgetMgr::GetInstance()->GetNextSiblingWidget(pChild)));
+ pChild = CFWL_WidgetMgr::GetInstance()->GetNextSiblingWidget(pChild);
+ } while (pChild);
if (!bChildIntersectWithDirty)
return TRUE;