From cbc3a17a173a6f858619e9791a1787dce965410e Mon Sep 17 00:00:00 2001 From: Dave Love Date: Thu, 5 Sep 2002 16:59:44 +0000 Subject: [PATCH] (Fset_buffer_multibyte, Fset_buffer_multibyte): Fix type error. --- src/buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/buffer.c b/src/buffer.c index b00bb5b06c2..6b9c2ca046c 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -2198,7 +2198,7 @@ char-to-byte. */) if (ASCII_BYTE_P (*p)) p++, pos++; - else if (method == Qas + else if (EQ (method, Qas) && (bytes = MULTIBYTE_LENGTH (p, pend)) > 0) p += bytes, pos += bytes; else @@ -2206,7 +2206,7 @@ char-to-byte. */) unsigned char tmp[MAX_MULTIBYTE_LENGTH]; int c; - if (method == Qmake) + if (EQ (method, Qmake)) c = unibyte_char_to_multibyte (*p); else c = BYTE8_TO_CHAR (*p); -- 2.39.5