diff options
author | kdx <kdx.42@42l.fr> | 2023-03-26 05:06:54 +0000 |
---|---|---|
committer | kdx <kdx.42@42l.fr> | 2023-03-26 05:06:54 +0000 |
commit | 1aa8753f12e8f76eaa9d77e9ca84547abd00fef2 (patch) | |
tree | 6dc48a808cc75f911915aab31706eca7a7d50de7 /sources/TZR_Init.c | |
parent | d26cd43dc5e64749d9e8f570ac7f9b1cd0bb6ede (diff) | |
download | tzr-1aa8753f12e8f76eaa9d77e9ca84547abd00fef2.tar.gz |
formatting tweak
Diffstat (limited to 'sources/TZR_Init.c')
-rw-r--r-- | sources/TZR_Init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sources/TZR_Init.c b/sources/TZR_Init.c index c0e88be..ce09a3c 100644 --- a/sources/TZR_Init.c +++ b/sources/TZR_Init.c @@ -5,14 +5,16 @@ #include <SDL2/SDL_image.h> #include <unistd.h> -static int _sdl_error(void) +static int +_sdl_error(void) { sdl_error(-1); TZR_Quit(); return -1; } -int _TZR_Init(const TZR_Config *config) +int +_TZR_Init(const TZR_Config *config) { if (SDL_Init(SDL_INIT_VIDEO) < 0) return _sdl_error(); |