Mercurial > emacs
diff src/xterm.c @ 9577:3bf81e215f18
(do_line_dance): Decrement index only once per loop.
| author | Karl Heuer <kwzh@gnu.org> |
|---|---|
| date | Tue, 18 Oct 1994 01:29:09 +0000 |
| parents | b36d5e88cccc |
| children | 41681efe1086 |
line wrap: on
line diff
--- a/src/xterm.c Tue Oct 18 00:08:18 1994 +0000 +++ b/src/xterm.c Tue Oct 18 01:29:09 1994 +0000 @@ -1343,7 +1343,7 @@ 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,
