OSDN Git Service

fix typo of 5a54b532d970b9d76862ee47b5364bcbc2f82330
authorNARUSE, Yui <naruse@users.sourceforge.jp>
Tue, 5 Apr 2016 05:30:40 +0000 (14:30 +0900)
committerNARUSE, Yui <naruse@users.sourceforge.jp>
Tue, 5 Apr 2016 05:30:40 +0000 (14:30 +0900)
nkf.c

diff --git a/nkf.c b/nkf.c
index fd3ce29..b58c437 100644 (file)
--- a/nkf.c
+++ b/nkf.c
@@ -5436,7 +5436,7 @@ mime_putc(nkf_char c)
                mimeout_state.buf[mimeout_state.count++] = (char)c;
                if (mimeout_state.count>MIMEOUT_BUF_LENGTH) {
                    eof_mime();
                mimeout_state.buf[mimeout_state.count++] = (char)c;
                if (mimeout_state.count>MIMEOUT_BUF_LENGTH) {
                    eof_mime();
-                   for (j=0;i<mimeout_state.count;j++) {
+                   for (j=0;j<mimeout_state.count;j++) {
                        (*o_mputc)(mimeout_state.buf[j]);
                        base64_count++;
                    }
                        (*o_mputc)(mimeout_state.buf[j]);
                        base64_count++;
                    }