aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorJoakim Verona2013-03-10 00:04:02 +0100
committerJoakim Verona2013-03-10 00:04:02 +0100
commitc446797d60edf1058f6cbec28e57255d245dd47b (patch)
treecde628bacb1ec48c0bea9b9db71516c953b1e534 /src/coding.c
parent4b882bf72aa0ed074cde5c27af51b8cf0b4d8620 (diff)
parent78cd48e721d04b94b35f6e02e7c1022092bf702e (diff)
downloademacs-c446797d60edf1058f6cbec28e57255d245dd47b.tar.gz
emacs-c446797d60edf1058f6cbec28e57255d245dd47b.zip
auto upstream
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c2
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 *
7970to_unicode (Lisp_Object str, Lisp_Object *buf) 7970to_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.