aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/minibuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index 8d35b73de6f..d55216cafd4 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -1654,7 +1654,7 @@ Return nil if there is no valid completion, else t.")
1654 buffer_nbytes = XSTRING (tem)->size_byte; /* ie ZV_BYTE - BEGV_BYTE */ 1654 buffer_nbytes = XSTRING (tem)->size_byte; /* ie ZV_BYTE - BEGV_BYTE */
1655 completion_nbytes = XSTRING (completion)->size_byte; 1655 completion_nbytes = XSTRING (completion)->size_byte;
1656 i_byte = buffer_nbytes - completion_nbytes; 1656 i_byte = buffer_nbytes - completion_nbytes;
1657 if (i > 0 || 1657 if (i_byte > 0 ||
1658 0 <= scmp (buffer_string, completion_string, buffer_nbytes)) 1658 0 <= scmp (buffer_string, completion_string, buffer_nbytes))
1659 { 1659 {
1660 /* Set buffer to longest match of buffer tail and completion head. */ 1660 /* Set buffer to longest match of buffer tail and completion head. */