mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Fix indentation
This commit is contained in:
@@ -569,10 +569,10 @@ extern "C"
|
||||
|
||||
const CommandLineCommand * command = CommandLine::FindCommandFor(CommandLine::RootCommands, &argEnumerator);
|
||||
|
||||
if (command == nullptr)
|
||||
{
|
||||
return EXITCODE_FAIL;
|
||||
}
|
||||
if (command == nullptr)
|
||||
{
|
||||
return EXITCODE_FAIL;
|
||||
}
|
||||
|
||||
if (command->Options != nullptr)
|
||||
{
|
||||
|
||||
@@ -264,14 +264,14 @@ bool platform_directory_delete(const utf8 *path)
|
||||
|
||||
char* platform_get_absolute_path(const char* relative_path,const char* base_path)
|
||||
{
|
||||
char path[MAX_PATH];
|
||||
char path[MAX_PATH];
|
||||
|
||||
//This is to get around the fact that dirname() doesn't take a const char*
|
||||
char base_path_copy[MAX_PATH];
|
||||
safe_strcpy(base_path_copy,base_path,MAX_PATH);
|
||||
//This is to get around the fact that dirname() doesn't take a const char*
|
||||
char base_path_copy[MAX_PATH];
|
||||
safe_strcpy(base_path_copy,base_path,MAX_PATH);
|
||||
|
||||
snprintf(path,MAX_PATH,"%s/%s",dirname(base_path_copy),relative_path);
|
||||
return realpath(path,NULL);
|
||||
snprintf(path,MAX_PATH,"%s/%s",dirname(base_path_copy),relative_path);
|
||||
return realpath(path,NULL);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user