Commit 0ccf5d73 authored by Karl Heuer's avatar Karl Heuer
Browse files

(do_line_dance): Decrement index only once per loop.

parent fd374ddc
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment