[Commits] [SCM] claws branch, master, updated. 4.1.1-36-geba27f8d5

miras at claws-mail.org miras at claws-mail.org
Thu Feb 2 23:20:29 UTC 2023


The branch, master has been updated
       via  eba27f8d59cfae9090e275cf57e5bb9ac9247dbf (commit)
      from  07f38db5b1a061859bbdbbdc521d7cd01a9f99ad (commit)

Summary of changes:
 src/plugins/litehtml_viewer/lh_widget.cpp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit eba27f8d59cfae9090e275cf57e5bb9ac9247dbf
Author: Michael Rasmussen <mir at datanom.net>
Date:   Fri Feb 3 00:17:44 2023 +0100

    Fix for bug #4300 again. Initially committer    Andrej Kacian <ticho at claws-mail.org>
            Tue, 6 Aug 2019 09:46:01 +0100 (10:46 +0200)
    
    Signed-off-by: Michael Rasmussen <mir at datanom.net>

diff --git a/src/plugins/litehtml_viewer/lh_widget.cpp b/src/plugins/litehtml_viewer/lh_widget.cpp
index 3c1259d0c..68658247d 100644
--- a/src/plugins/litehtml_viewer/lh_widget.cpp
+++ b/src/plugins/litehtml_viewer/lh_widget.cpp
@@ -144,7 +144,11 @@ void lh_widget::set_base_url(const litehtml::tchar_t* base_url)
 {
 	debug_print("lh_widget set_base_url '%s'\n",
 			(base_url ? base_url : "(null)"));
-	m_base_url = base_url;
+	if (base_url)
+		m_base_url = base_url;
+	else
+		m_base_url.clear();
+
 	return;
 }
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list