summaryrefslogtreecommitdiff
path: root/src/indent.c
diff options
context:
space:
mode:
authorPavel Janík <Pavel@Janik.cz>2001-12-09 00:57:28 +0000
committerPavel Janík <Pavel@Janik.cz>2001-12-09 00:57:28 +0000
commit8a00d895352eca933714059751088b86b0215ffc (patch)
treee22dd44a3034dffdfa6acf62cd4cc11b1f33df4b /src/indent.c
parent873232948609cec66905f04695de31bb0874132c (diff)
downloademacs-8a00d895352eca933714059751088b86b0215ffc.tar.gz
(compute_motion): Likewise.
Diffstat (limited to 'src/indent.c')
-rw-r--r--src/indent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indent.c b/src/indent.c
index c869c624c66..402456e1685 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -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