From 187bc86f15320f5680552b8bd692a62fb1a4b3ba Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 8 Sep 2008 05:46:36 +0000 Subject: [PATCH] (Fvertical_motion): Be sure to set it_overshoot_expected if it.cmp_it.id is non-nengative. --- src/indent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */) { if (it.cmp_it.id >= 0) it_overshoot_expected = 1; - if (it.method == GET_FROM_STRING) + else if (it.method == GET_FROM_STRING) { const char *s = SDATA (it.string); const char *e = s + SBYTES (it.string); -- 2.39.5