diff src/fns.c @ 20639:12240a9b3679

(concat): Check STRINGP before increasing result_len_byte.
author Kenichi Handa <handa@m17n.org>
date Mon, 12 Jan 1998 05:49:45 +0000
parents 04a436e5760b
children 64af046211eb
line wrap: on
line diff
--- a/src/fns.c	Mon Jan 12 05:48:48 1998 +0000
+++ b/src/fns.c	Mon Jan 12 05:49:45 1998 +0000
@@ -456,7 +456,7 @@
 		if (this_len_byte > 1)
 		  some_multibyte = 1;
 	      }
-	  else
+	  else if (STRINGP (this))
 	    {
 	      result_len_byte += XSTRING (this)->size_byte;
 	      if (STRING_MULTIBYTE (this))