Fix indentation

This commit is contained in:
X7123M3-256 authored and Ted John committed 2017-05-07 01:01:05 +01:00
1 parent aaf16a7ec5
commit 5e7ca2207e
2 files changed
+10 -10

No files matched your search

+4 -4
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)
{
+6 -6
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);
}