aboutsummaryrefslogtreecommitdiffstats
path: root/src/scroll.c
diff options
context:
space:
mode:
authorJoakim Verona2011-06-23 01:28:30 +0200
committerJoakim Verona2011-06-23 01:28:30 +0200
commitc5082a753011dacef505e91f1fc30a84fa75a2eb (patch)
tree2c995eff276b6e9e68f54b4ebe76bf012231c86d /src/scroll.c
parent787c27e81f046cfa1c457ed405551f8ca0ddb0e8 (diff)
parent297dde5a97c0c5c8020db72213c7f84067f1ee21 (diff)
downloademacs-c5082a753011dacef505e91f1fc30a84fa75a2eb.tar.gz
emacs-c5082a753011dacef505e91f1fc30a84fa75a2eb.zip
merge upstream
Diffstat (limited to 'src/scroll.c')
-rw-r--r--src/scroll.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/scroll.c b/src/scroll.c
index ba012874460..6291936a541 100644
--- a/src/scroll.c
+++ b/src/scroll.c
@@ -268,10 +268,10 @@ do_scrolling (struct frame *frame, struct glyph_matrix *current_matrix,
268# define CHECK_BOUNDS \ 268# define CHECK_BOUNDS \
269 do \ 269 do \
270 { \ 270 { \
271 int k; \ 271 int ck; \
272 for (k = 0; k < window_size; ++k) \ 272 for (ck = 0; ck < window_size; ++ck) \
273 xassert (copy_from[k] == -1 \ 273 xassert (copy_from[ck] == -1 \
274 || (copy_from[k] >= 0 && copy_from[k] < window_size)); \ 274 || (copy_from[ck] >= 0 && copy_from[ck] < window_size)); \
275 } \ 275 } \
276 while (0); 276 while (0);
277#endif 277#endif