changeset 20561:24acae12e085

(Fchar_after): Fix previous change.
author Richard M. Stallman <rms@gnu.org>
date Fri, 02 Jan 1998 21:06:08 +0000
parents c9095cd30412
children 33689e29d77c
files src/editfns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/editfns.c	Thu Jan 01 08:41:38 1998 +0000
+++ b/src/editfns.c	Fri Jan 02 21:06:08 1998 +0000
@@ -599,7 +599,7 @@
       pos_byte = CHAR_TO_BYTE (XINT (pos));
     }
 
-  if (n < BEGV_BYTE || n >= ZV_BYTE)
+  if (pos_byte < BEGV_BYTE || pos_byte >= ZV_BYTE)
     return Qnil;
 
   return make_number (FETCH_CHAR (pos_byte));