From: Pavel Janík Date: Sun, 9 Dec 2001 00:57:28 +0000 (+0000) Subject: (compute_motion): Likewise. X-Git-Tag: ttn-vms-21-2-B4~17836 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8a00d895352eca933714059751088b86b0215ffc;p=emacs.git (compute_motion): Likewise. --- 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