diff options
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c index 32da72ab626..78e6cff7078 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -7970,7 +7970,7 @@ wchar_t * | |||
| 7970 | to_unicode (Lisp_Object str, Lisp_Object *buf) | 7970 | to_unicode (Lisp_Object str, Lisp_Object *buf) |
| 7971 | { | 7971 | { |
| 7972 | *buf = code_convert_string_norecord (str, Qutf_16le, 1); | 7972 | *buf = code_convert_string_norecord (str, Qutf_16le, 1); |
| 7973 | /* We need to make a another copy (in addition to the one made by | 7973 | /* We need to make another copy (in addition to the one made by |
| 7974 | code_convert_string_norecord) to ensure that the final string is | 7974 | code_convert_string_norecord) to ensure that the final string is |
| 7975 | _doubly_ zero terminated --- that is, that the string is | 7975 | _doubly_ zero terminated --- that is, that the string is |
| 7976 | terminated by two zero bytes and one utf-16le null character. | 7976 | terminated by two zero bytes and one utf-16le null character. |