summaryrefslogtreecommitdiff
path: root/libs/litehtml/src/flex_item.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-03-30 19:43:42 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-03-30 19:43:42 +0300
commit032787f69076aafd43843c9ab64bdc373dc9aa6a (patch)
treee8d761cf9adbf492ab2d249d9fc427be7660ca66 /libs/litehtml/src/flex_item.cpp
parent79353069a2cc268c37c3bf8c50e8d74039298231 (diff)
update of litehtml, fixes the problem with empty lines
Diffstat (limited to 'libs/litehtml/src/flex_item.cpp')
-rw-r--r--libs/litehtml/src/flex_item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/litehtml/src/flex_item.cpp b/libs/litehtml/src/flex_item.cpp
index 8eb66847e5..b117c22415 100644
--- a/libs/litehtml/src/flex_item.cpp
+++ b/libs/litehtml/src/flex_item.cpp
@@ -170,7 +170,7 @@ void litehtml::flex_item_row_direction::direction_specific_init(const litehtml::
{
case flex_basis_auto:
base_size = el->css().get_width().calc_percent(self_size.render_width) +
- el->content_offset_width();
+ el->render_offset_width();
break;
case flex_basis_fit_content:
case flex_basis_content: