aboutsummaryrefslogtreecommitdiffstats
path: root/src/ccl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ccl.c')
-rw-r--r--src/ccl.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/ccl.c b/src/ccl.c
index 187f6027018..54093bf5677 100644
--- a/src/ccl.c
+++ b/src/ccl.c
@@ -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;