Index: xfa/fxfa/app/xfa_textlayout.cpp |
diff --git a/xfa/fxfa/app/xfa_textlayout.cpp b/xfa/fxfa/app/xfa_textlayout.cpp |
index 0c7acffa9e4a82a25cdc5ff854bab463e29cf2ed..8a4aadb753a7c70f8eb1bc3181f7a6dc379b004e 100644 |
--- a/xfa/fxfa/app/xfa_textlayout.cpp |
+++ b/xfa/fxfa/app/xfa_textlayout.cpp |
@@ -1276,7 +1276,7 @@ FX_BOOL CXFA_TextLayout::DrawString(CFX_RenderDevice* pFxDevice, |
} |
pDevice->RestoreState(); |
FX_Free(pCharPos); |
- return iPieceLines; |
+ return iPieceLines > 0; |
Tom Sepez
2016/10/27 21:04:50
another count
|
} |
void CXFA_TextLayout::UpdateAlign(FX_FLOAT fHeight, FX_FLOAT fBottom) { |
fHeight -= fBottom; |