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_LoadResource.c | |
parent | d26cd43dc5e64749d9e8f570ac7f9b1cd0bb6ede (diff) | |
download | tzr-1aa8753f12e8f76eaa9d77e9ca84547abd00fef2.tar.gz |
formatting tweak
Diffstat (limited to 'sources/TZR_LoadResource.c')
-rw-r--r-- | sources/TZR_LoadResource.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sources/TZR_LoadResource.c b/sources/TZR_LoadResource.c index 8c78de9..924ecd3 100644 --- a/sources/TZR_LoadResource.c +++ b/sources/TZR_LoadResource.c @@ -2,7 +2,8 @@ #include "TZR_types.h" #include <strings.h> -static TZR_ResourceType deduce_type(const char *path) +static TZR_ResourceType +deduce_type(const char *path) { const char *const path_extension = strrchr(path, '.'); if (path_extension == NULL) @@ -13,7 +14,8 @@ static TZR_ResourceType deduce_type(const char *path) return TZR_RES_RAW; } -TZR_Uint TZR_LoadResource(const char *path) +TZR_Uint +TZR_LoadResource(const char *path) { return TZR_LoadResourceTyped(deduce_type(path), path); } |