Fix indentation

This commit is contained in:
X7123M3-256 2017-01-14 14:57:44 +00:00 committed by Ted John
parent aaf16a7ec5
commit 5e7ca2207e
2 changed files with 10 additions and 10 deletions

View File

@ -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)
{

View File

@ -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);
}