changeset 89615:88fa74816908

(base64_encode_1): Fix previous change.
author Kenichi Handa <handa@m17n.org>
date Thu, 13 Nov 2003 06:03:46 +0000
parents 355fc0282e50
children 3c6a6f43d21b
files src/fns.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/fns.c	Sat Nov 08 00:54:53 2003 +0000
+++ b/src/fns.c	Thu Nov 13 06:03:46 2003 +0000
@@ -3300,6 +3300,7 @@
 	  if (CHAR_BYTE8_P (c))
 	    c = CHAR_TO_BYTE8 (c);
 	  else if (c >= 256)
+	    return -1;
 	  i += bytes;
 	}
       else