mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-25 09:17:12 +01:00
Fixed whitespace
This commit is contained in:
parent
8a6f1aa5f5
commit
51e9e98451
@ -2030,11 +2030,11 @@ Cocoa_SetWindowFullscreenSpace(SDL_Window * window, SDL_bool state)
|
|||||||
SDL_bool succeeded = SDL_FALSE;
|
SDL_bool succeeded = SDL_FALSE;
|
||||||
SDL_WindowData *data = (SDL_WindowData *) window->driverdata;
|
SDL_WindowData *data = (SDL_WindowData *) window->driverdata;
|
||||||
|
|
||||||
if (data->inWindowFullscreenTransition) {
|
if (data->inWindowFullscreenTransition) {
|
||||||
return SDL_FALSE;
|
return SDL_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
data->inWindowFullscreenTransition = SDL_TRUE;
|
data->inWindowFullscreenTransition = SDL_TRUE;
|
||||||
if ([data->listener setFullscreenSpace:(state ? YES : NO)]) {
|
if ([data->listener setFullscreenSpace:(state ? YES : NO)]) {
|
||||||
const int maxattempts = 3;
|
const int maxattempts = 3;
|
||||||
int attempt = 0;
|
int attempt = 0;
|
||||||
@ -2061,7 +2061,7 @@ Cocoa_SetWindowFullscreenSpace(SDL_Window * window, SDL_bool state)
|
|||||||
/* Return TRUE to prevent non-space fullscreen logic from running */
|
/* Return TRUE to prevent non-space fullscreen logic from running */
|
||||||
succeeded = SDL_TRUE;
|
succeeded = SDL_TRUE;
|
||||||
}
|
}
|
||||||
data->inWindowFullscreenTransition = SDL_FALSE;
|
data->inWindowFullscreenTransition = SDL_FALSE;
|
||||||
|
|
||||||
return succeeded;
|
return succeeded;
|
||||||
}}
|
}}
|
||||||
|
Loading…
Reference in New Issue
Block a user