diff options
Diffstat (limited to 'xfa/fde')
-rw-r--r-- | xfa/fde/cfde_txtedtengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fde/cfde_txtedtengine.cpp b/xfa/fde/cfde_txtedtengine.cpp index 9877d87fb4..5c0d1e7d79 100644 --- a/xfa/fde/cfde_txtedtengine.cpp +++ b/xfa/fde/cfde_txtedtengine.cpp @@ -731,7 +731,7 @@ void CFDE_TxtEdtEngine::Inner_DeleteRange(int32_t nStart, int32_t nCount) { pParag = m_ParagPtrArray[ParagPosBgn.nParagIndex].get(); pParag->SetTextLength(nTotalCharCount - nCount); pParag->CalcLines(); - nTotalLineCount -= pParag->GetTextLength(); + nTotalLineCount -= pParag->GetLineCount(); } int32_t nParagCount = pdfium::CollectionSize<int32_t>(m_ParagPtrArray); for (i = nNextParagIndex; i < nParagCount; i++) |