aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
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);