From: Eli Zaretskii Date: Fri, 7 Jun 2024 06:11:04 +0000 (+0300) Subject: ; * src/dispnew.c (update_frame_line): Fix thinko (bug#71289). X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ea0de3c8009920f164819427f9fabede1c95d9b6;p=emacs.git ; * src/dispnew.c (update_frame_line): Fix thinko (bug#71289). (cherry picked from commit 7d36bb0547fd2f1e0315edbe579bed68796d5c39) --- 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)