changeset 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 c3360a392ae4
children 3305df803f6e
files src/fns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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))