OSDN Git Service

fix: on -MB each line has various number of letters.
authorNARUSE, Yui <naruse@users.sourceforge.jp>
Sat, 1 Jan 2005 02:19:43 +0000 (02:19 +0000)
committerNARUSE, Yui <naruse@users.sourceforge.jp>
Sat, 1 Jan 2005 02:19:43 +0000 (02:19 +0000)
nkf.c

diff --git a/nkf.c b/nkf.c
index 324ebb2..2a134e4 100644 (file)
--- a/nkf.c
+++ b/nkf.c
@@ -39,9 +39,9 @@
 **        E-Mail: furukawa@tcp-ip.or.jp
 **    \e$B$^$G8fO"Mm$r$*4j$$$7$^$9!#\e(B
 ***********************************************************************/
-/* $Id: nkf.c,v 1.50 2004/12/29 21:04:23 naruse Exp $ */
+/* $Id: nkf.c,v 1.51 2004/12/31 17:19:43 naruse Exp $ */
 #define NKF_VERSION "2.0.4"
-#define NKF_RELEASE_DATE "2004-12-01"
+#define NKF_RELEASE_DATE "2005-01-01"
 #include "config.h"
 
 static char *CopyRight =
@@ -4303,7 +4303,7 @@ mime_putc(c)
        eof_mime();
        (*o_mputc)(NL);
        base64_count=0;
-    } else if (c==CR||c==NL) {
+    } else if (mimeout_f!=FIXED_MIME && (c==CR||c==NL)) {
        base64_count=0;
     }
     if (c!=EOF && mimeout_f!=FIXED_MIME) {