From a2d0a9ee5c78b12b10bb8666c87c4697c386757c Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 1 Jul 2022 21:29:45 -0400 Subject: [PATCH] * editfns.c (Fbyte_to_string): Use `make_unibyte_string` --- src/editfns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editfns.c b/src/editfns.c index 84947af5086..4587b1132b1 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -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, -- 2.39.2