mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 13:39:30 +02:00
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:
parent
ce6ee767f9
commit
4f009ea169
@ -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 :-)
|
||||
|
Loading…
Reference in New Issue
Block a user