[Commits] [SCM] claws branch, master, updated. 3.17.7-1-ge19ab0f1f
paul at claws-mail.org
paul at claws-mail.org
Thu Oct 1 17:52:10 CEST 2020
The branch, master has been updated
via e19ab0f1fda84f78eeb7b901548438441967bef6 (commit)
from 088090e678c59c00220305c8b09763ae0471b9cf (commit)
Summary of changes:
src/plugins/litehtml_viewer/litehtml/html_tag.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit e19ab0f1fda84f78eeb7b901548438441967bef6
Author: Paul <paul at claws-mail.org>
Date: Thu Oct 1 16:52:02 2020 +0100
fix bug 4376, 'Litehtml breaks locale'
diff --git a/src/plugins/litehtml_viewer/litehtml/html_tag.cpp b/src/plugins/litehtml_viewer/litehtml/html_tag.cpp
index f856b1e81..a93038b53 100644
--- a/src/plugins/litehtml_viewer/litehtml/html_tag.cpp
+++ b/src/plugins/litehtml_viewer/litehtml/html_tag.cpp
@@ -81,7 +81,7 @@ void litehtml::html_tag::set_attr( const tchar_t* name, const tchar_t* val )
if(name && val)
{
tstring s_val = name;
- std::locale lc = std::locale::global(std::locale::classic());
+ std::locale lc = std::locale::global(std::locale(""));
for(size_t i = 0; i < s_val.length(); i++)
{
s_val[i] = std::tolower(s_val[i], lc);
@@ -2017,7 +2017,7 @@ bool litehtml::html_tag::is_break() const
void litehtml::html_tag::set_tagName( const tchar_t* tag )
{
tstring s_val = tag;
- std::locale lc = std::locale::global(std::locale::classic());
+ std::locale lc = std::locale::global(std::locale(""));
for(size_t i = 0; i < s_val.length(); i++)
{
s_val[i] = std::tolower(s_val[i], lc);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list