mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-24 10:38:38 +00:00
(do_line_dance): Decrement index only once per loop.
This commit is contained in:
parent
fd374ddce2
commit
0ccf5d73ba
@ -1343,7 +1343,7 @@ do_line_dance ()
|
||||
if (line_dance[i] != -1 && (distance = line_dance[i]-i) < 0)
|
||||
{
|
||||
for (j = i; (--j >= 0 && line_dance[j] != -1
|
||||
&& line_dance[j]-j == distance); --j);
|
||||
&& line_dance[j]-j == distance););
|
||||
/* Copy (j,i] downward from (j+distance, i+distance] */
|
||||
XCopyArea (x_current_display, FRAME_X_WINDOW (f),
|
||||
FRAME_X_WINDOW (f), f->display.x->normal_gc,
|
||||
|
Loading…
Reference in New Issue
Block a user