about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/layout/engine.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/engine.nim b/src/layout/engine.nim
index 866fd786..2cdee818 100644
--- a/src/layout/engine.nim
+++ b/src/layout/engine.nim
@@ -132,8 +132,8 @@ proc verticalAlignLine(ictx: InlineContext) =
       line.baseline = max(line.baseline, atom.baseline)
 
   # Resize the line's height based on atoms' height and baseline.
-  # The line height should be as high than the highest baseline used by an atom
-  # plus that atom's height.
+  # The line height should be at least as high as the highest baseline used by
+  # an atom plus that atom's height.
   for atom in line.atoms:
     # In all cases, the line's height must at least equal the atom's height.
     # (Where the atom is actually placed is irrelevant here.)