changeset 967:6df04dcbd2e9

* minibuf.c (Fcompleting_read): Stop subtracting one from the starting position, so this function lives up to its doc string, which I think specifies an okay way to work.
author Jim Blandy <jimb@redhat.com>
date Wed, 12 Aug 1992 14:08:21 +0000
parents eb74884fc95a
children 861714452cb3
files src/minibuf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/minibuf.c	Wed Aug 12 14:05:56 1992 +0000
+++ b/src/minibuf.c	Wed Aug 12 14:08:21 1992 +0000
@@ -847,7 +847,7 @@
 	{
 	  CHECK_NUMBER (position, 0);
 	  /* Convert to distance from end of input.  */
-	  pos = XINT (position) - 1 - XSTRING (init)->size;
+	  pos = XINT (position) - XSTRING (init)->size;
 	}
     }