diff options
author | Daniel Colascione <dancol@dancol.org> | 2012-10-08 04:53:18 -0800 |
---|---|---|
committer | Daniel Colascione <dancol@dancol.org> | 2012-10-08 04:53:18 -0800 |
commit | 501199a3dbccc83f91a561c6664ae4c1d3dde20a (patch) | |
tree | c9b24607e5e44b61fad483b10a0c77862d4d2661 /src/cygw32.c | |
parent | c54ebba4e076caeb6105c6bb682252b139a169fa (diff) |
Code cleanup for cygw32
Diffstat (limited to 'src/cygw32.c')
-rw-r--r-- | src/cygw32.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cygw32.c b/src/cygw32.c index ab7ee91a13..c45a45648e 100644 --- a/src/cygw32.c +++ b/src/cygw32.c @@ -22,7 +22,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #include "buffer.h" #include <unistd.h> #include <fcntl.h> -static Lisp_Object Qutf_16_le; +static Lisp_Object Qutf_16le; static Lisp_Object fchdir_unwind (Lisp_Object dir_fd) @@ -117,13 +117,13 @@ from_unicode (Lisp_Object str) str = Fsubstring (str, make_number (0), make_number (-1)); } - return code_convert_string_norecord (str, Qutf_16_le, 0); + return code_convert_string_norecord (str, Qutf_16le, 0); } wchar_t * to_unicode (Lisp_Object str, Lisp_Object *buf) { - *buf = code_convert_string_norecord (str, Qutf_16_le, 1); + *buf = code_convert_string_norecord (str, Qutf_16le, 1); /* We need to make a another copy (in addition to the one made by code_convert_string_norecord) to ensure that the final string is _doubly_ zero terminated --- that is, that the string is @@ -163,7 +163,7 @@ void syms_of_cygw32 (void) { /* No, not utf-16-le: that one has a BOM. */ - DEFSYM (Qutf_16_le, "utf-16le"); + DEFSYM (Qutf_16le, "utf-16le"); defsubr (&Scygwin_convert_path_from_windows); defsubr (&Scygwin_convert_path_to_windows); } |