From 40fbd2544a7ef141999e7915f42c0582a277c14e Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 1 Mar 2002 01:37:55 +0000 Subject: [PATCH] Include "character.h" instead of "charset.h". (Fchar_to_string): Always call CHAR_STRING. --- src/editfns.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/editfns.c b/src/editfns.c index dabd920e947..2c4bae4808a 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -38,7 +38,7 @@ Boston, MA 02111-1307, USA. */ #include "lisp.h" #include "intervals.h" #include "buffer.h" -#include "charset.h" +#include "character.h" #include "coding.h" #include "frame.h" #include "window.h" @@ -175,9 +175,7 @@ usage: (char-to-string CHAR) */) CHECK_NUMBER (character); - len = (SINGLE_BYTE_CHAR_P (XFASTINT (character)) - ? (*str = (unsigned char)(XFASTINT (character)), 1) - : char_to_string (XFASTINT (character), str)); + len = CHAR_STRING (XFASTINT (character), str); return make_string_from_bytes (str, 1, len); } -- 2.39.2