Index: xfa/fde/cfde_txtedtpage.cpp |
diff --git a/xfa/fde/cfde_txtedtpage.cpp b/xfa/fde/cfde_txtedtpage.cpp |
index 24eab86e0b4eda776ce9ebe33d5fa810da1884b8..9f0d29f63d0c93a3667b9897a187014852ee13d5 100644 |
--- a/xfa/fde/cfde_txtedtpage.cpp |
+++ b/xfa/fde/cfde_txtedtpage.cpp |
@@ -295,7 +295,7 @@ int32_t CFDE_TxtEdtPage::LoadPage(const CFX_RectF* pClipBox, |
nPageEnd += (nTemp - 1); |
FX_BOOL bVertial = pParams->dwLayoutStyles & FDE_TEXTEDITLAYOUT_DocVertical; |
FX_BOOL bLineReserve = |
- pParams->dwLayoutStyles & FDE_TEXTEDITLAYOUT_LineReserve; |
+ !!(pParams->dwLayoutStyles & FDE_TEXTEDITLAYOUT_LineReserve); |
FX_FLOAT fLineStart = |
bVertial |
? (bLineReserve ? (pParams->fPlateWidth - pParams->fLineSpace) : 0.0f) |