]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/dispnew.c (update_frame_line): Fix thinko (bug#71289).
authorEli Zaretskii <eliz@gnu.org>
Fri, 7 Jun 2024 06:11:04 +0000 (09:11 +0300)
committerEshel Yaron <me@eshelyaron.com>
Fri, 7 Jun 2024 10:44:32 +0000 (12:44 +0200)
(cherry picked from commit 7d36bb0547fd2f1e0315edbe579bed68796d5c39)

src/dispnew.c

index 8223b90f4a45256f18e976bbff3e28f73330bc92..e74147f1456e5c6a2542d8691828ef3fb9cb5382 100644 (file)
@@ -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)