From 1008cc8e5f129f3bc78b982ce8f37f404d69e743 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 9 Nov 2022 12:55:27 -0500 Subject: [PATCH] video: Add some braces to match SDL coding style. --- src/video/SDL_video.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c index 56b387de7..dde4912ad 100644 --- a/src/video/SDL_video.c +++ b/src/video/SDL_video.c @@ -698,8 +698,9 @@ SDL_GetDisplayBounds(int displayIndex, SDL_Rect * rect) CHECK_DISPLAY_INDEX(displayIndex, -1); - if (!rect) + if (!rect) { return SDL_InvalidParamError("rect"); + } display = &_this->displays[displayIndex]; @@ -736,8 +737,9 @@ SDL_GetDisplayUsableBounds(int displayIndex, SDL_Rect * rect) CHECK_DISPLAY_INDEX(displayIndex, -1); - if (!rect) + if (!rect) { return SDL_InvalidParamError("rect"); + } display = &_this->displays[displayIndex];