]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix last commit
authorAlan Third <alan@idiocy.org>
Sat, 26 Jul 2025 11:59:10 +0000 (12:59 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sat, 26 Jul 2025 15:25:10 +0000 (17:25 +0200)
* src/nsterm.m (ns_draw_fringe_bitmap): Rename clearRect to bmpRect
where missed previously.

(cherry picked from commit 5bc75585d5b9d583c9643408bf4c2f639357a827)

src/nsterm.m

index 1d86fab3db513134d87f4632ff9b63c5acd195b6..589de7794d0cfaae3e2c59452d34809a35337c76 100644 (file)
@@ -3055,12 +3055,12 @@ ns_draw_fringe_bitmap (struct window *w, struct glyph_row *row,
   ns_focus (f, &bmpRect, 1);
 
   /* Clear screen unless overlay.  */
-  if (!p->overlay_p && !NSIsEmptyRect (clearRect))
+  if (!p->overlay_p && !NSIsEmptyRect (bmpRect))
     {
-      NSTRACE_RECT ("clearRect", clearRect);
+      NSTRACE_RECT ("clearRect", bmpRect);
 
       [[NSColor colorWithUnsignedLong:face->background] set];
-      NSRectFill (clearRect);
+      NSRectFill (bmpRect);
     }
 
   NSBezierPath *bmp = [fringe_bmp objectForKey:[NSNumber numberWithInt:p->which]];