(Fconstrain_to_field): Fix int/Lisp_Object mixup.
authorKen Raeburn <raeburn@raeburn.org>
Sun, 5 Feb 2006 12:15:02 +0000 (12:15 +0000)
committerKen Raeburn <raeburn@raeburn.org>
Sun, 5 Feb 2006 12:15:02 +0000 (12:15 +0000)
src/ChangeLog
src/editfns.c

index 66061c7..bffe8ca 100644 (file)
@@ -1,3 +1,7 @@
+2006-02-05  Ken Raeburn  <raeburn@raeburn.org>
+
+       * editfns.c (Fconstrain_to_field): Fix int/Lisp_Object mixup.
+
 2006-02-03  Kim F. Storm  <storm@cua.dk>
 
        * xdisp.c: Cache last merged escape glyph face.
index 9be9232..5bf4eb7 100644 (file)
@@ -719,7 +719,8 @@ Field boundaries are not noticed if `inhibit-field-text-motion' is non-nil.  */)
 {
   /* If non-zero, then the original point, before re-positioning.  */
   int orig_point = 0;
-  int fwd, prev_old, prev_new;
+  int fwd;
+  Lisp_Object prev_old, prev_new;
   
   if (NILP (new_pos))
     /* Use the current point, and afterwards, set it.  */