From 5e7ca2207ea23c1daf270187056fb68eeeb06a31 Mon Sep 17 00:00:00 2001 From: X7123M3-256 Date: Sat, 14 Jan 2017 14:57:44 +0000 Subject: [PATCH] Fix indentation --- src/openrct2/cmdline/CommandLine.cpp | 8 ++++---- src/openrct2/platform/posix.c | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/openrct2/cmdline/CommandLine.cpp b/src/openrct2/cmdline/CommandLine.cpp index 2f613905e7..47fa2c8d54 100644 --- a/src/openrct2/cmdline/CommandLine.cpp +++ b/src/openrct2/cmdline/CommandLine.cpp @@ -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) { diff --git a/src/openrct2/platform/posix.c b/src/openrct2/platform/posix.c index c39d32ae0b..775cb6925d 100644 --- a/src/openrct2/platform/posix.c +++ b/src/openrct2/platform/posix.c @@ -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); }