mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix indentation
This commit is contained in:
parent
aaf16a7ec5
commit
5e7ca2207e
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue