Commit b96f9fb7 authored by Ken Raeburn's avatar Ken Raeburn
Browse files

* scroll.c (CHECK_BOUNDS): Renamed from CHECK.

* emacs.c (main): Fix sense of no-loadup test.
parent e0b8c689
No preview for this file type
...@@ -1179,7 +1179,7 @@ main (argc, argv, envp) ...@@ -1179,7 +1179,7 @@ main (argc, argv, envp)
} }
no_loadup no_loadup
= !argmatch (argv, argc, "-nl", "--no-loadup", 6, NULL, &skip_args); = argmatch (argv, argc, "-nl", "--no-loadup", 6, NULL, &skip_args);
#ifdef HAVE_X_WINDOWS #ifdef HAVE_X_WINDOWS
......
...@@ -269,7 +269,7 @@ do_scrolling (current_matrix, matrix, window_size, unchanged_at_top) ...@@ -269,7 +269,7 @@ do_scrolling (current_matrix, matrix, window_size, unchanged_at_top)
for (k = 0; k < window_size; ++k) for (k = 0; k < window_size; ++k)
copy_from[k] = -1; copy_from[k] = -1;
#define CHECK \ #define CHECK_BOUNDS \
do \ do \
{ \ { \
int k; \ int k; \
...@@ -326,7 +326,7 @@ do_scrolling (current_matrix, matrix, window_size, unchanged_at_top) ...@@ -326,7 +326,7 @@ do_scrolling (current_matrix, matrix, window_size, unchanged_at_top)
retained_p[j] = 1; retained_p[j] = 1;
#if GLYPH_DEBUG #if GLYPH_DEBUG
CHECK; CHECK_BOUNDS;
#endif #endif
} }
} }
......
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