diff options
| author | Kenichi Handa | 1998-01-12 05:49:45 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1998-01-12 05:49:45 +0000 |
| commit | 470730a82246661e53cd3f2b8730bbc1f74c7419 (patch) | |
| tree | 436415e8804c03f66f1e3ab57cc7f08d3c9558cf /src | |
| parent | e68e61b5e03208f59adc30e863a0b7a874c82e23 (diff) | |
| download | emacs-470730a82246661e53cd3f2b8730bbc1f74c7419.tar.gz emacs-470730a82246661e53cd3f2b8730bbc1f74c7419.zip | |
(concat): Check STRINGP before increasing result_len_byte.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fns.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -456,7 +456,7 @@ concat (nargs, args, target_type, last_special) | |||
| 456 | if (this_len_byte > 1) | 456 | if (this_len_byte > 1) |
| 457 | some_multibyte = 1; | 457 | some_multibyte = 1; |
| 458 | } | 458 | } |
| 459 | else | 459 | else if (STRINGP (this)) |
| 460 | { | 460 | { |
| 461 | result_len_byte += XSTRING (this)->size_byte; | 461 | result_len_byte += XSTRING (this)->size_byte; |
| 462 | if (STRING_MULTIBYTE (this)) | 462 | if (STRING_MULTIBYTE (this)) |