Index: xfa/fgas/layout/fgas_rtfbreak.cpp |
diff --git a/xfa/fgas/layout/fgas_rtfbreak.cpp b/xfa/fgas/layout/fgas_rtfbreak.cpp |
index c6a43d3b56b782f1ad3bc09190abad34ce00dc78..62b3f5f28e32c57c8f25c934cd776b8e1671ade1 100644 |
--- a/xfa/fgas/layout/fgas_rtfbreak.cpp |
+++ b/xfa/fgas/layout/fgas_rtfbreak.cpp |
@@ -1317,7 +1317,7 @@ int32_t CFX_RTFBreak::GetDisplayPos(const FX_RTFTEXTOBJ* pText, |
bAdjusted = pAdjustPos(wForm, bMBCSCode, pFont, fFontSize, |
bVerticalChar, ptOffset); |
} |
- if (!pAdjustPos && bVerticalChar && (dwProps & 0x00010000) != 0) { |
+ if (!bAdjusted && bVerticalChar && (dwProps & 0x00010000) != 0) { |
CFX_Rect rtBBox; |
rtBBox.Reset(); |
if (pFont->GetCharBBox(wForm, rtBBox, bMBCSCode)) { |