OSDN Git Service

fix typo of 5a54b532d970b9d76862ee47b5364bcbc2f82330
[nkf/nkf.git] / nkf.c
diff --git a/nkf.c b/nkf.c
index 2602101..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();
-                   for (j=0;i<mimeout_state.count;j++) {
+                   for (j=0;j<mimeout_state.count;j++) {
                        (*o_mputc)(mimeout_state.buf[j]);
                        base64_count++;
                    }
@@ -5710,9 +5710,9 @@ module_connection(void)
     if (nkf_enc_unicode_p(output_encoding))
        output_mode = UTF_8;
 
-       if (x0201_f == NKF_UNSPECIFIED) {
-               x0201_f = X0201_DEFAULT;
-       }
+    if (x0201_f == NKF_UNSPECIFIED) {
+       x0201_f = X0201_DEFAULT;
+    }
 
     /* replace continuation module, from output side */