diff options
Diffstat (limited to 'src/dispnew.c')
| -rw-r--r-- | src/dispnew.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index 1ae59e3ff2b..d318e26308e 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -25,7 +25,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 25 | #include <unistd.h> | 25 | #include <unistd.h> |
| 26 | 26 | ||
| 27 | #include "lisp.h" | 27 | #include "lisp.h" |
| 28 | #include "ptr-bounds.h" | ||
| 29 | #include "termchar.h" | 28 | #include "termchar.h" |
| 30 | /* cm.h must come after dispextern.h on Windows. */ | 29 | /* cm.h must come after dispextern.h on Windows. */ |
| 31 | #include "dispextern.h" | 30 | #include "dispextern.h" |
| @@ -4891,12 +4890,6 @@ scrolling (struct frame *frame) | |||
| 4891 | unsigned *new_hash = old_hash + height; | 4890 | unsigned *new_hash = old_hash + height; |
| 4892 | int *draw_cost = (int *) (new_hash + height); | 4891 | int *draw_cost = (int *) (new_hash + height); |
| 4893 | int *old_draw_cost = draw_cost + height; | 4892 | int *old_draw_cost = draw_cost + height; |
| 4894 | old_hash = ptr_bounds_clip (old_hash, height * sizeof *old_hash); | ||
| 4895 | new_hash = ptr_bounds_clip (new_hash, height * sizeof *new_hash); | ||
| 4896 | draw_cost = ptr_bounds_clip (draw_cost, height * sizeof *draw_cost); | ||
| 4897 | old_draw_cost = ptr_bounds_clip (old_draw_cost, | ||
| 4898 | height * sizeof *old_draw_cost); | ||
| 4899 | |||
| 4900 | eassert (current_matrix); | 4893 | eassert (current_matrix); |
| 4901 | 4894 | ||
| 4902 | /* Compute hash codes of all the lines. Also calculate number of | 4895 | /* Compute hash codes of all the lines. Also calculate number of |