X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=blobdiff_plain;f=src%2Fcodeconv.c;h=f0ed61677072db919f235117263ac208132b26f6;hp=39e259fc6bf31c9f89a591ec5e830fb6de1b3be0;hb=e3ffcb455e0376053451ce968e6c71ef37708222;hpb=dbc705e307faa0109d2faca8e0cfe20087c797fd diff --git a/src/codeconv.c b/src/codeconv.c index 39e259fc6..f0ed61677 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 == '$') {