mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +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_WindowData *data = (SDL_WindowData *) window->driverdata;
|
||||
|
||||
if (data->inWindowFullscreenTransition) {
|
||||
return SDL_FALSE;
|
||||
}
|
||||
if (data->inWindowFullscreenTransition) {
|
||||
return SDL_FALSE;
|
||||
}
|
||||
|
||||
data->inWindowFullscreenTransition = SDL_TRUE;
|
||||
data->inWindowFullscreenTransition = SDL_TRUE;
|
||||
if ([data->listener setFullscreenSpace:(state ? YES : NO)]) {
|
||||
const int maxattempts = 3;
|
||||
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 */
|
||||
succeeded = SDL_TRUE;
|
||||
}
|
||||
data->inWindowFullscreenTransition = SDL_FALSE;
|
||||
data->inWindowFullscreenTransition = SDL_FALSE;
|
||||
|
||||
return succeeded;
|
||||
}}
|
||||
|
Loading…
Reference in New Issue
Block a user