fpvectorial: Fix docx writer ignoring single-character words. Issue #0036300. Patch by Dean Qin/Mike.Cornflake

git-svn-id: trunk@62237 -
This commit is contained in:
wp 2019-11-13 21:41:33 +00:00
parent ce6ee767f9
commit 4f009ea169

View File

@ -551,7 +551,7 @@ Var
If (sText[i] In [#10, #09, #13]) Or (i = iLen) Then
Begin
// Add the text before this point into a single Text Run
If i > iStart Then
If i >= iStart Then
Begin
// If end of line AND end of line isn't a special char, then
// inc(i) to ensure the math in the Copy works :-)