mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-11 23:27:38 +00:00
isleapp: Fix formating to comply with .clang-format
This commit is contained in:
parent
cd3554cbc2
commit
0b791db939
@ -32,11 +32,10 @@
|
|||||||
#define SDL_MAIN_USE_CALLBACKS
|
#define SDL_MAIN_USE_CALLBACKS
|
||||||
#include <SDL3/SDL.h>
|
#include <SDL3/SDL.h>
|
||||||
#include <SDL3/SDL_main.h>
|
#include <SDL3/SDL_main.h>
|
||||||
#include <iniparser.h>
|
|
||||||
#include <time.h>
|
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#include <iniparser.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
DECOMP_SIZE_ASSERT(IsleApp, 0x8c)
|
DECOMP_SIZE_ASSERT(IsleApp, 0x8c)
|
||||||
|
|
||||||
@ -553,7 +552,12 @@ bool IsleApp::LoadConfig()
|
|||||||
FILE* iniFP = fopen(iniConfig, "wb");
|
FILE* iniFP = fopen(iniConfig, "wb");
|
||||||
|
|
||||||
if (!iniFP) {
|
if (!iniFP) {
|
||||||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Failed to write config at '%s': %s", iniConfig, strerror(errno));
|
SDL_LogError(
|
||||||
|
SDL_LOG_CATEGORY_APPLICATION,
|
||||||
|
"Failed to write config at '%s': %s",
|
||||||
|
iniConfig,
|
||||||
|
strerror(errno)
|
||||||
|
);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user