mirror of https://github.com/encounter/SDL.git
video: Add some braces to match SDL coding style.
This commit is contained in:
parent
ac3349faaf
commit
1008cc8e5f
|
@ -698,8 +698,9 @@ SDL_GetDisplayBounds(int displayIndex, SDL_Rect * rect)
|
||||||
|
|
||||||
CHECK_DISPLAY_INDEX(displayIndex, -1);
|
CHECK_DISPLAY_INDEX(displayIndex, -1);
|
||||||
|
|
||||||
if (!rect)
|
if (!rect) {
|
||||||
return SDL_InvalidParamError("rect");
|
return SDL_InvalidParamError("rect");
|
||||||
|
}
|
||||||
|
|
||||||
display = &_this->displays[displayIndex];
|
display = &_this->displays[displayIndex];
|
||||||
|
|
||||||
|
@ -736,8 +737,9 @@ SDL_GetDisplayUsableBounds(int displayIndex, SDL_Rect * rect)
|
||||||
|
|
||||||
CHECK_DISPLAY_INDEX(displayIndex, -1);
|
CHECK_DISPLAY_INDEX(displayIndex, -1);
|
||||||
|
|
||||||
if (!rect)
|
if (!rect) {
|
||||||
return SDL_InvalidParamError("rect");
|
return SDL_InvalidParamError("rect");
|
||||||
|
}
|
||||||
|
|
||||||
display = &_this->displays[displayIndex];
|
display = &_this->displays[displayIndex];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue