aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorDave Love2002-09-05 16:59:44 +0000
committerDave Love2002-09-05 16:59:44 +0000
commitcbc3a17a173a6f858619e9791a1787dce965410e (patch)
tree365da3c9832c55905211de10cef88576cb383609 /src/buffer.c
parentc23cad0bc68b679f16bf16986392ab07872f95b7 (diff)
downloademacs-cbc3a17a173a6f858619e9791a1787dce965410e.tar.gz
emacs-cbc3a17a173a6f858619e9791a1787dce965410e.zip
(Fset_buffer_multibyte, Fset_buffer_multibyte): Fix
type error.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c4
1 files 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. */)
2198 2198
2199 if (ASCII_BYTE_P (*p)) 2199 if (ASCII_BYTE_P (*p))
2200 p++, pos++; 2200 p++, pos++;
2201 else if (method == Qas 2201 else if (EQ (method, Qas)
2202 && (bytes = MULTIBYTE_LENGTH (p, pend)) > 0) 2202 && (bytes = MULTIBYTE_LENGTH (p, pend)) > 0)
2203 p += bytes, pos += bytes; 2203 p += bytes, pos += bytes;
2204 else 2204 else
@@ -2206,7 +2206,7 @@ char-to-byte. */)
2206 unsigned char tmp[MAX_MULTIBYTE_LENGTH]; 2206 unsigned char tmp[MAX_MULTIBYTE_LENGTH];
2207 int c; 2207 int c;
2208 2208
2209 if (method == Qmake) 2209 if (EQ (method, Qmake))
2210 c = unibyte_char_to_multibyte (*p); 2210 c = unibyte_char_to_multibyte (*p);
2211 else 2211 else
2212 c = BYTE8_TO_CHAR (*p); 2212 c = BYTE8_TO_CHAR (*p);