changeset 98094:cb9f2fca78e9

(Fvertical_motion): Be sure to set it_overshoot_expected if it.cmp_it.id is non-nengative.
author Kenichi Handa <handa@m17n.org>
date Mon, 08 Sep 2008 05:46:36 +0000
parents a1c72f8d259a
children 6e27d74c7d56
files src/indent.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/indent.c	Mon Sep 08 03:22:11 2008 +0000
+++ b/src/indent.c	Mon Sep 08 05:46:36 2008 +0000
@@ -2070,7 +2070,7 @@
 	{
 	  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);