summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gmdocument.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c
index 3e7da995..a91d6a52 100644
--- a/src/gmdocument.c
+++ b/src/gmdocument.c
@@ -482,6 +482,11 @@ static void doLayout_GmDocument_(iGmDocument *d) {
482 if (type == link_GmLineType && prevNonBlankType == link_GmLineType && followsBlank) { 482 if (type == link_GmLineType && prevNonBlankType == link_GmLineType && followsBlank) {
483 required = 1.25f * lineHeight_Text(paragraph_FontId); 483 required = 1.25f * lineHeight_Text(paragraph_FontId);
484 } 484 }
485 else if (type == link_GmLineType && prevType == link_GmLineType) {
486 /* Balance space between the link icons and the labels, both vertically
487 between icons and between the icon and the label. */
488 required *= 0.75f;
489 }
485 if (type == quote_GmLineType && prevType == quote_GmLineType) { 490 if (type == quote_GmLineType && prevType == quote_GmLineType) {
486 /* No margin between consecutive quote lines. */ 491 /* No margin between consecutive quote lines. */
487 required = 0; 492 required = 0;