From ea0de3c8009920f164819427f9fabede1c95d9b6 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 7 Jun 2024 09:11:04 +0300 Subject: [PATCH] ; * src/dispnew.c (update_frame_line): Fix thinko (bug#71289). (cherry picked from commit 7d36bb0547fd2f1e0315edbe579bed68796d5c39) --- src/dispnew.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dispnew.c b/src/dispnew.c index 8223b90f4a4..e74147f1456 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -5265,7 +5265,7 @@ update_frame_line (struct frame *f, int vpos, bool updating_menu_p) /* This should never happen, but evidently sometimes does if one resizes the frame quickly enough. Prevent aborts in cmcheckmagic. */ - if (vpos >= FRAME_LINES (f)) + if (vpos >= FRAME_TOTAL_LINES (f)) return; if (colored_spaces_p) -- 2.39.5