summaryrefslogtreecommitdiff
path: root/xfa/src/fxfa/src/app/xfa_fwltheme.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/src/fxfa/src/app/xfa_fwltheme.cpp')
-rw-r--r--xfa/src/fxfa/src/app/xfa_fwltheme.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/src/fxfa/src/app/xfa_fwltheme.cpp b/xfa/src/fxfa/src/app/xfa_fwltheme.cpp
index 29225c7800..b683d64a7e 100644
--- a/xfa/src/fxfa/src/app/xfa_fwltheme.cpp
+++ b/xfa/src/fxfa/src/app/xfa_fwltheme.cpp
@@ -216,7 +216,7 @@ void* CXFA_FWLTheme::GetCapacity(CFWL_ThemePart* pThemePart,
}
}
if (pItem->GetPrev() == NULL) {
- if (pItem->GetNext() != NULL) {
+ if (pItem->GetNext()) {
m_Rect.height = 0;
}
} else if (pItem->GetNext() == NULL) {