diff options
Diffstat (limited to 'src/ccl.c')
| -rw-r--r-- | src/ccl.c | 7 |
1 files changed, 2 insertions, 5 deletions
| @@ -2160,11 +2160,8 @@ usage: (ccl-execute-on-string CCL-PROGRAM STATUS STRING &optional CONTINUE UNIBY | |||
| 2160 | ASET (status, i, make_number (ccl.reg[i])); | 2160 | ASET (status, i, make_number (ccl.reg[i])); |
| 2161 | ASET (status, 8, make_number (ccl.ic)); | 2161 | ASET (status, 8, make_number (ccl.ic)); |
| 2162 | 2162 | ||
| 2163 | if (NILP (unibyte_p)) | 2163 | val = make_specified_string ((const char *) outbuf, produced_chars, |
| 2164 | val = make_multibyte_string ((char *) outbuf, produced_chars, | 2164 | outp - outbuf, NILP (unibyte_p)); |
| 2165 | outp - outbuf); | ||
| 2166 | else | ||
| 2167 | val = make_unibyte_string ((char *) outbuf, produced_chars); | ||
| 2168 | xfree (outbuf); | 2165 | xfree (outbuf); |
| 2169 | 2166 | ||
| 2170 | return val; | 2167 | return val; |