(compute_motion): Likewise.
This commit is contained in:
parent
8732329486
commit
8a00d89535
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue