[Commits] [SCM] claws branch, master, updated. 3.13.2-97-gc98793a

Colin colin at claws-mail.org
Thu Mar 31 19:56:08 CEST 2016


The branch, master has been updated
       via  c98793ac0580fe75d57beda72ef77248fcd93dc7 (commit)
      from  1da6103b4a35c1cbf29e3d6bfadb2a2eec740425 (commit)

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


- Log -----------------------------------------------------------------
commit c98793ac0580fe75d57beda72ef77248fcd93dc7
Author: Colin Leroy <colin at colino.net>
Date:   Thu Mar 31 19:55:49 2016 +0200

    Fix cast issue

diff --git a/src/common/utils.c b/src/common/utils.c
index 5e24bc6..236a924 100644
--- a/src/common/utils.c
+++ b/src/common/utils.c
@@ -1005,7 +1005,7 @@ void unfold_line(gchar *str)
 	while (*ch != 0) {
 		c = g_utf8_get_char_validated(ch, -1);
 
-		if (c < 0) {
+		if (c == (gunichar)-1 || c == (gunichar)-2) {
 			/* non-unicode byte, move past it */
 			ch++;
 			continue;

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list