aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 5398414e6eb..53b3bd960c4 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -2634,8 +2634,7 @@ current buffer is cleared. */)
2634 if (ASCII_CHAR_P (*p)) 2634 if (ASCII_CHAR_P (*p))
2635 p++, pos++; 2635 p++, pos++;
2636 else if (EQ (flag, Qt) 2636 else if (EQ (flag, Qt)
2637 && ! CHAR_BYTE8_HEAD_P (*p) 2637 && 0 < (bytes = multibyte_length (p, pend, true, false)))
2638 && (bytes = MULTIBYTE_LENGTH (p, pend)) > 0)
2639 p += bytes, pos += bytes; 2638 p += bytes, pos += bytes;
2640 else 2639 else
2641 { 2640 {