From 6964cbc38a2bf7ba463a6b2df821afa74a425f99 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 2 Nov 2024 13:16:41 +0200 Subject: [PATCH] ; * src/nsterm.m (ns_draw_fringe_bitmap): Fix coding style. (cherry picked from commit 0a6d46228d62ec07cc55c6bd8eaf0ec8a1da9af5) --- src/nsterm.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/nsterm.m b/src/nsterm.m index ad3b8ba8487..8862a74f129 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -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); -- 2.39.5