]> code.delx.au - gnu-emacs/commitdiff
(compute_motion): Likewise.
authorPavel Janík <Pavel@Janik.cz>
Sun, 9 Dec 2001 00:57:28 +0000 (00:57 +0000)
committerPavel Janík <Pavel@Janik.cz>
Sun, 9 Dec 2001 00:57:28 +0000 (00:57 +0000)
src/indent.c

index c869c624c66daecc0a77fe583b05f95295580384..402456e168518cbb9a786c25b537850d7f62b44e 100644 (file)
@@ -1262,7 +1262,7 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width,
          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 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width,
          break;
        }
 
-      if (vpos > tovpos || vpos == tovpos && hpos >= tohpos)
+      if (vpos > tovpos || (vpos == tovpos && hpos >= tohpos))
        {
          if (contin_hpos && prev_hpos == 0
              && hpos > tohpos