changeset 41900:e9a72f369214

(compute_motion): Likewise.
author Pavel Janík <Pavel@Janik.cz>
date Sun, 09 Dec 2001 00:57:28 +0000
parents 5c01da9c8604
children 52fc7b74e8a1
files src/indent.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/indent.c	Sun Dec 09 00:56:24 2001 +0000
+++ b/src/indent.c	Sun Dec 09 00:57:28 2001 +0000
@@ -1262,7 +1262,7 @@
 	  int newpos;
 
 	  /* Don't skip invisible if we are already at the margin.  */
-	  if (vpos > tovpos || vpos == tovpos && hpos >= tohpos)
+	  if (vpos > tovpos || (vpos == tovpos && hpos >= tohpos))
 	    {
 	      if (contin_hpos && prev_hpos == 0
 		  && hpos > tohpos
@@ -1444,7 +1444,7 @@
 	  break;
 	}
 
-      if (vpos > tovpos || vpos == tovpos && hpos >= tohpos)
+      if (vpos > tovpos || (vpos == tovpos && hpos >= tohpos))
 	{
 	  if (contin_hpos && prev_hpos == 0
 	      && hpos > tohpos