* editfns.c (Fbyte_to_string): Use make_unibyte_string
This commit is contained in:
parent
eb6d74a26c
commit
a2d0a9ee5c
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ DEFUN ("byte-to-string", Fbyte_to_string, Sbyte_to_string, 1, 1, 0,
|
|||
if (XFIXNUM (byte) < 0 || XFIXNUM (byte) > 255)
|
||||
error ("Invalid byte");
|
||||
b = XFIXNUM (byte);
|
||||
return make_string_from_bytes ((char *) &b, 1, 1);
|
||||
return make_unibyte_string ((char *) &b, 1);
|
||||
}
|
||||
|
||||
DEFUN ("string-to-char", Fstring_to_char, Sstring_to_char, 1, 1, 0,
|
||||
|
|
Loading…
Add table
Reference in a new issue