[Commits] [SCM] claws branch, master, updated. 3.13.1-3-ge3ffcb4

claws at claws-mail.org claws at claws-mail.org
Tue Dec 22 12:17:06 CET 2015


The branch, master has been updated
       via  e3ffcb455e0376053451ce968e6c71ef37708222 (commit)
      from  dbc705e307faa0109d2faca8e0cfe20087c797fd (commit)

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


- Log -----------------------------------------------------------------
commit e3ffcb455e0376053451ce968e6c71ef37708222
Author: Paul <paul at claws-mail.org>
Date:   Tue Dec 22 11:17:02 2015 +0000

    fix bug 3584, 'After 3.13.1, characters in some Japanese codec are never correctly converted to internal ones'
    
    Thanks to honda at math.sci.hokudai.ac.jp

diff --git a/src/codeconv.c b/src/codeconv.c
index 39e259f..f0ed616 100644
--- a/src/codeconv.c
+++ b/src/codeconv.c
@@ -158,7 +158,7 @@ static gint conv_jistoeuc(gchar *outbuf, gint outlen, const gchar *inbuf)
 	gchar *out = outbuf;
 	JISState state = JIS_ASCII;
 
-	while (*in != '\0' && (out - outbuf) > outlen - 3) {
+	while (*in != '\0' && (out - outbuf) < outlen - 3) {
 		if (*in == ESC) {
 			in++;
 			if (*in == '$') {

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list