[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-31-g00d0212cc
paul at claws-mail.org
paul at claws-mail.org
Tue Aug 3 13:10:04 CEST 2021
The branch, gtk3 has been updated
via 00d0212ccbcaa608a91c5f3a50639fed98f654c6 (commit)
from 749416c7fb89ac69d002dd0e328a59ca0030105e (commit)
Summary of changes:
AUTHORS | 1 +
src/gtk/authors.h | 1 +
src/plugins/litehtml_viewer/litehtml/html_tag.cpp | 3 +++
3 files changed, 5 insertions(+)
- Log -----------------------------------------------------------------
commit 00d0212ccbcaa608a91c5f3a50639fed98f654c6
Author: paul <paul at claws-mail.org>
Date: Tue Aug 3 12:10:01 2021 +0100
fix bug 4312, 'litehtml plugin loops (hangup)'
patch by Frank Mueller
diff --git a/AUTHORS b/AUTHORS
index 5eee7ea45..45cd8c4e2 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -338,3 +338,4 @@ contributors (in addition to the above; based on Changelog)
Ramin Yaghoubzadeh Torky
Manuel Stoeckl
David Fletcher
+ Frank Mueller
diff --git a/src/gtk/authors.h b/src/gtk/authors.h
index 8b5dc7706..20bb7ca8f 100644
--- a/src/gtk/authors.h
+++ b/src/gtk/authors.h
@@ -228,6 +228,7 @@ static char *CONTRIBS_LIST[] = {
"Neill Miller",
"Suzuki Mio",
"Alex S Moore",
+"Frank Mueller",
"NAKAGAWA",
"Yuuki NINOMIYA",
"Satoshi Nagayasu",
diff --git a/src/plugins/litehtml_viewer/litehtml/html_tag.cpp b/src/plugins/litehtml_viewer/litehtml/html_tag.cpp
index a93038b53..cb046b85b 100644
--- a/src/plugins/litehtml_viewer/litehtml/html_tag.cpp
+++ b/src/plugins/litehtml_viewer/litehtml/html_tag.cpp
@@ -3920,6 +3920,9 @@ int litehtml::html_tag::render_box(int x, int y, int max_width, bool second_pass
{
int parent_width = max_width;
+ if (max_width <= 0)
+ return 0;
+
calc_outlines(parent_width);
m_pos.clear();
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list