aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2003-05-11 15:06:41 +0000
committerStefan Monnier2003-05-11 15:06:41 +0000
commit9465a86c76ea0a26cfa923d968fb59dde2f541cf (patch)
tree4e11d921fb51abc918fe1d424cf0673078f1b2c9 /src
parent5279cf16878082711ad435d62aca5951f12ce3d5 (diff)
downloademacs-9465a86c76ea0a26cfa923d968fb59dde2f541cf.tar.gz
emacs-9465a86c76ea0a26cfa923d968fb59dde2f541cf.zip
(adjust_point_for_property): Be more careful about termination.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 78ae9e74cfe..5b5b78e634e 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -1952,7 +1952,7 @@ adjust_point_for_property (last_pt, modified)
1952 less than we actually did, so that we still have 1952 less than we actually did, so that we still have
1953 more freedom below in choosing which end of the range 1953 more freedom below in choosing which end of the range
1954 to go to. */ 1954 to go to. */
1955 ? (PT < last_pt ? end : beg) 1955 ? (orig_pt = -1, PT < last_pt ? end : beg)
1956 /* We either have moved already or the last point 1956 /* We either have moved already or the last point
1957 was already in the range: we don't get to choose 1957 was already in the range: we don't get to choose
1958 which end of the range we have to go to. */ 1958 which end of the range we have to go to. */