OSDN Git Service

Fix: CRLF & Q-encode & softwrap breaks result.
[nkf/nkf.git] / nkf.c
diff --git a/nkf.c b/nkf.c
index aab1bcd..b35d02f 100644 (file)
--- a/nkf.c
+++ b/nkf.c
@@ -4439,7 +4439,7 @@ mime_getc(FILE *f)
        }
        if (c1=='='&&c2<SP) { /* this is soft wrap */
            while((c1 =  (*i_mgetc)(f)) <=SP) {
-               if ((c1 = (*i_mgetc)(f)) == EOF) return (EOF);
+               if (c1 == EOF) return (EOF);
            }
            mime_decode_mode = 'Q'; /* still in MIME */
            goto restart_mime_q;