about summary refs log tree commit diff stats
path: root/src/layout
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-11-25 10:43:03 +0100
committerbptato <nincsnevem662@gmail.com>2022-11-25 10:43:03 +0100
commitc696ec1759c16a70d2a22cea6002efcf9c1f5cfa (patch)
tree8bf9dede84f3388b48c461d51b55699aefcbe9dd /src/layout
parent2d3b4faaffb62b6f449bd3dcb59f5ac4fbb16415 (diff)
downloadchawan-c696ec1759c16a70d2a22cea6002efcf9c1f5cfa.tar.gz
Fix typo
Diffstat (limited to 'src/layout')
-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.)