aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2008-09-08 05:46:36 +0000
committerKenichi Handa2008-09-08 05:46:36 +0000
commit187bc86f15320f5680552b8bd692a62fb1a4b3ba (patch)
tree1fe9fbdd62f77807b19f9602b0b909556682992d /src
parent29c068d1d1dbbe78aff917abddd775711c668902 (diff)
downloademacs-187bc86f15320f5680552b8bd692a62fb1a4b3ba.tar.gz
emacs-187bc86f15320f5680552b8bd692a62fb1a4b3ba.zip
(Fvertical_motion): Be sure to set it_overshoot_expected if
it.cmp_it.id is non-nengative.
Diffstat (limited to 'src')
-rw-r--r--src/indent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indent.c b/src/indent.c
index 25d41a66f59..809f775a221 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -2070,7 +2070,7 @@ whether or not it is currently displayed in some window. */)
2070 { 2070 {
2071 if (it.cmp_it.id >= 0) 2071 if (it.cmp_it.id >= 0)
2072 it_overshoot_expected = 1; 2072 it_overshoot_expected = 1;
2073 if (it.method == GET_FROM_STRING) 2073 else if (it.method == GET_FROM_STRING)
2074 { 2074 {
2075 const char *s = SDATA (it.string); 2075 const char *s = SDATA (it.string);
2076 const char *e = s + SBYTES (it.string); 2076 const char *e = s + SBYTES (it.string);