From f1b3523c6794bf9b8fef008b0d608998ad78d403 Mon Sep 17 00:00:00 2001 From: Petar Popovic Date: Tue, 4 Feb 2025 02:17:03 +0100 Subject: [PATCH] Remove redundant parenthesis in SDL_MUSTLOCK macro --- include/SDL3/SDL_surface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL3/SDL_surface.h b/include/SDL3/SDL_surface.h index 47b90c1bd4..f2d20654bf 100644 --- a/include/SDL3/SDL_surface.h +++ b/include/SDL3/SDL_surface.h @@ -73,7 +73,7 @@ typedef Uint32 SDL_SurfaceFlags; * * \since This macro is available since SDL 3.2.0. */ -#define SDL_MUSTLOCK(S) ((((S)->flags & SDL_SURFACE_LOCK_NEEDED)) == SDL_SURFACE_LOCK_NEEDED) +#define SDL_MUSTLOCK(S) (((S)->flags & SDL_SURFACE_LOCK_NEEDED) == SDL_SURFACE_LOCK_NEEDED) /** * The scaling mode.