summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-07-14 23:01:01 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-07-14 23:01:01 +0300
commit2738d45e11d80d629668ca190e2b04e200ac2dfb (patch)
tree2ba4d935c7f03b11aa80a0c012bb9280af80efce /src
parentc7bcee83b741bec16de12db66805d0cdbb1743cb (diff)
GmDocument: Fixed lede font change on retry
Diffstat (limited to 'src')
-rw-r--r--src/gmdocument.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c
index 9fc270d2..639ddbfb 100644
--- a/src/gmdocument.c
+++ b/src/gmdocument.c
@@ -830,7 +830,7 @@ static void doLayout_GmDocument_(iGmDocument *d) {
830 .mode = word_WrapTextMode, 830 .mode = word_WrapTextMode,
831 .wrapFunc = typesetOneLine_RunTypesetter_, 831 .wrapFunc = typesetOneLine_RunTypesetter_,
832 .context = &rts }, 832 .context = &rts },
833 run.textParams.font); 833 rts.run.textParams.font);
834 if (!isLedeParagraph || size_Array(&rts.layout) <= maxLedeLines_) { 834 if (!isLedeParagraph || size_Array(&rts.layout) <= maxLedeLines_) {
835 commit_RunTypesetter_(&rts, d); 835 commit_RunTypesetter_(&rts, d);
836 break; 836 break;