diff options
| author | Richard M. Stallman | 1997-08-27 17:21:54 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-08-27 17:21:54 +0000 |
| commit | 0de441b6f6f5223bbf0c9ef7a9240cbe78c0ac35 (patch) | |
| tree | 40a8defdb1563fa588155459808d2dc5cf003f6a /src | |
| parent | d420d5b4fe6df6319a5ff150c353dc4eb3050851 (diff) | |
| download | emacs-0de441b6f6f5223bbf0c9ef7a9240cbe78c0ac35.tar.gz emacs-0de441b6f6f5223bbf0c9ef7a9240cbe78c0ac35.zip | |
(concat): Fix use of Fchar_bytes.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fns.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -427,7 +427,7 @@ concat (nargs, args, target_type, last_special) | |||
| 427 | ch = XVECTOR (this)->contents[i]; | 427 | ch = XVECTOR (this)->contents[i]; |
| 428 | if (! INTEGERP (ch)) | 428 | if (! INTEGERP (ch)) |
| 429 | wrong_type_argument (Qintegerp, ch); | 429 | wrong_type_argument (Qintegerp, ch); |
| 430 | leni += Fchar_bytes (ch); | 430 | leni += XFASTINT (Fchar_bytes (ch)); |
| 431 | } | 431 | } |
| 432 | else | 432 | else |
| 433 | for (; CONSP (this); this = XCONS (this)->cdr) | 433 | for (; CONSP (this); this = XCONS (this)->cdr) |
| @@ -435,7 +435,7 @@ concat (nargs, args, target_type, last_special) | |||
| 435 | ch = XCONS (this)->car; | 435 | ch = XCONS (this)->car; |
| 436 | if (! INTEGERP (ch)) | 436 | if (! INTEGERP (ch)) |
| 437 | wrong_type_argument (Qintegerp, ch); | 437 | wrong_type_argument (Qintegerp, ch); |
| 438 | leni += Fchar_bytes (ch); | 438 | leni += XFASTINT (Fchar_bytes (ch)); |
| 439 | } | 439 | } |
| 440 | } | 440 | } |
| 441 | else | 441 | else |