[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-1009-g703fdba15

paul at claws-mail.org paul at claws-mail.org
Fri Sep 25 08:33:19 CEST 2020


The branch, gtk3 has been updated
       via  703fdba15a3e46f0e38f623e4609bd7d622e5aa0 (commit)
      from  ec4bd3ebc2190dab7ac3fe30875cf4724d566941 (commit)

Summary of changes:
 src/common/utils.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 703fdba15a3e46f0e38f623e4609bd7d622e5aa0
Author: Paul <paul at claws-mail.org>
Date:   Fri Sep 25 07:32:32 2020 +0100

    fix bug 4384, 'U+00AD (soft hyphen) changed to space in Subject'

diff --git a/src/common/utils.c b/src/common/utils.c
index 848f0ce86..52a0eb3f5 100644
--- a/src/common/utils.c
+++ b/src/common/utils.c
@@ -896,8 +896,8 @@ void unfold_line(gchar *str)
 
 		len = g_unichar_to_utf8(c, NULL);
 
-		if (!g_unichar_isdefined(c) || !g_unichar_isprint(c) ||
-				g_unichar_isspace(c)) {
+		if ((!g_unichar_isdefined(c) || !g_unichar_isprint(c) ||
+				g_unichar_isspace(c)) && c != 173) {
 			/* replace anything bad or whitespacey with a single space */
 			*ch = ' ';
 			ch++;

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list