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 f33b5e7c7d5..98af4ddcef7 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -8005,7 +8005,7 @@ wchar_t * | |||
| 8005 | to_unicode (Lisp_Object str, Lisp_Object *buf) | 8005 | to_unicode (Lisp_Object str, Lisp_Object *buf) |
| 8006 | { | 8006 | { |
| 8007 | *buf = code_convert_string_norecord (str, Qutf_16le, 1); | 8007 | *buf = code_convert_string_norecord (str, Qutf_16le, 1); |
| 8008 | /* We need to make a another copy (in addition to the one made by | 8008 | /* We need to make another copy (in addition to the one made by |
| 8009 | code_convert_string_norecord) to ensure that the final string is | 8009 | code_convert_string_norecord) to ensure that the final string is |
| 8010 | _doubly_ zero terminated --- that is, that the string is | 8010 | _doubly_ zero terminated --- that is, that the string is |
| 8011 | terminated by two zero bytes and one utf-16le null character. | 8011 | terminated by two zero bytes and one utf-16le null character. |