]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/nsterm.m (ns_draw_fringe_bitmap): Fix coding style.
authorEli Zaretskii <eliz@gnu.org>
Sat, 2 Nov 2024 11:16:41 +0000 (13:16 +0200)
committerEshel Yaron <me@eshelyaron.com>
Fri, 8 Nov 2024 12:27:45 +0000 (13:27 +0100)
(cherry picked from commit 0a6d46228d62ec07cc55c6bd8eaf0ec8a1da9af5)

src/nsterm.m

index ad3b8ba84875c33602a2778e4cf57e52126fdcf4..8862a74f1293b44b559024d22f681383e219286b 100644 (file)
@@ -2962,12 +2962,12 @@ ns_draw_fringe_bitmap (struct window *w, struct glyph_row *row,
                p->which, p->cursor_p, p->overlay_p, p->wd, p->h, p->dh);
 
   /* Clear screen unless overlay.  */
-  if ( !p->overlay_p )
+  if (!p->overlay_p)
     {
       /* Work out the rectangle we will need to clear.  */
       clearRect = NSMakeRect (p->x, p->y, p->wd, p->h);
 
-      if ( p->bx >= 0 )
+      if (p->bx >= 0)
         clearRect = NSUnionRect (clearRect, NSMakeRect (p->bx, p->by, p->nx, p->ny));
 
       /* Handle partially visible rows.  */
@@ -2976,7 +2976,7 @@ ns_draw_fringe_bitmap (struct window *w, struct glyph_row *row,
       /* The visible portion of imageRect will always be contained
         within clearRect.  */
       ns_focus (f, &clearRect, 1);
-      if ( !NSIsEmptyRect (clearRect) )
+      if (!NSIsEmptyRect (clearRect))
         {
           NSTRACE_RECT ("clearRect", clearRect);