changeset 50949:620ed035578e

(adjust_point_for_property): Be more careful about termination.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 11 May 2003 15:06:41 +0000
parents 12e60748ae66
children a7b2bce87058
files src/keyboard.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Sun May 11 00:16:14 2003 +0000
+++ b/src/keyboard.c	Sun May 11 15:06:41 2003 +0000
@@ -1952,7 +1952,7 @@
 			 less than we actually did, so that we still have
 			 more freedom below in choosing which end of the range
 			 to go to.  */
-		      ? (PT < last_pt ? end : beg)
+		      ? (orig_pt = -1, PT < last_pt ? end : beg)
 		      /* We either have moved already or the last point
 			 was already in the range: we don't get to choose
 			 which end of the range we have to go to.  */