aboutsummaryrefslogtreecommitdiffstats
path: root/src/line_box.cpp
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2025-10-07 20:58:04 +0200
committerYuri Kobets <yuri.kobets@gmail.com>2025-10-07 23:22:00 +0300
commit91b12df37f5e0d7b2ae6e187e6559ff96b163b77 (patch)
treea7a4fb5eecc16b6fd7093bb297064dfdce95d606 /src/line_box.cpp
parentd1a2e1fec363f341a2c4722b9c20b3ab05f20562 (diff)
Fix typos discovered by codespellupstream/master
Diffstat (limited to 'src/line_box.cpp')
-rw-r--r--src/line_box.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/line_box.cpp b/src/line_box.cpp
index 675607a7..f29bf4ca 100644
--- a/src/line_box.cpp
+++ b/src/line_box.cpp
@@ -435,7 +435,7 @@ std::list< std::unique_ptr<litehtml::line_box_item> > litehtml::line_box::finish
{
case va_bottom:
case va_top:
- // Align by base line 0 all inline boxes with top and bottom vertical aling
+ // Align by base line 0 all inline boxes with top and bottom vertical align
bl = 0;
is_top_bottom_box = true;
break;
@@ -584,7 +584,7 @@ std::list< std::unique_ptr<litehtml::line_box_item> > litehtml::line_box::finish
}
} else
{
- // Add inline boxes dimentions
+ // Add inline boxes dimensions
line_max_height.top = std::min(line_max_height.top, inline_boxes_dims.top);
line_max_height.bottom = std::max(line_max_height.bottom, inline_boxes_dims.bottom);