aboutsummaryrefslogtreecommitdiffstats
path: root/src/ccl.c
diff options
context:
space:
mode:
authorDmitry Antipov2014-06-17 17:41:14 +0400
committerDmitry Antipov2014-06-17 17:41:14 +0400
commit3e1fc7fbd10bdf5fc2d4e0c6fdb21c583d445602 (patch)
tree7da5181d758e7bd8b719105d6725a8edb1c4c265 /src/ccl.c
parent67343d1d9fef95c242a6d050187bb036e4bb82eb (diff)
downloademacs-3e1fc7fbd10bdf5fc2d4e0c6fdb21c583d445602.tar.gz
emacs-3e1fc7fbd10bdf5fc2d4e0c6fdb21c583d445602.zip
* lisp.h (STRING_COPYIN): Remove; unused.
* ccl.c (Fccl_execute_on_string): * font.c (fon_intern_prop): Use make_specified_string.
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;