Mercurial > emacs
changeset 64358:a673f66d6156
[TARGET_API_MAC_CARBON] (Fmac_code_convert_string): Use
Fstring_as_unibyte instead of string_make_unibyte.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Sat, 16 Jul 2005 07:16:42 +0000 |
parents | 25d7b8b15748 |
children | 29a15341c1f5 |
files | src/mac.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/mac.c Sat Jul 16 02:25:48 2005 +0000 +++ b/src/mac.c Sat Jul 16 07:16:42 2005 +0000 @@ -4144,7 +4144,7 @@ src_encoding = get_cfstring_encoding_from_lisp (source); tgt_encoding = get_cfstring_encoding_from_lisp (target); - string = string_make_unibyte (string); + string = Fstring_as_unibyte (string); if (src_encoding != kCFStringEncodingInvalidId && tgt_encoding != kCFStringEncodingInvalidId) str = CFStringCreateWithBytes (NULL, SDATA (string), SBYTES (string),