1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Fix more formatting

This commit is contained in:
X7123M3-256
2017-01-27 23:06:34 +00:00
committed by Ted John
parent 3d9e6a4e2d
commit 03606adbeb
2 changed files with 4 additions and 4 deletions

View File

@@ -610,9 +610,9 @@ sint32 cmdline_for_sprite(const char **argv, sint32 argc)
sint16 x_offset = 0;
sint16 y_offset = 0;
if(argc == 5)
if (argc == 5)
{
char* endptr;
char *endptr;
x_offset = strtol(argv[3], &endptr, 0);
if (*endptr != 0)
@@ -718,7 +718,7 @@ sint32 cmdline_for_sprite(const char **argv, sint32 argc)
//Resolve absolute sprite path
char* imagePath = platform_get_absolute_path(json_string_value(path), directoryPath);
char *imagePath = platform_get_absolute_path(json_string_value(path), directoryPath);
rct_g1_element spriteElement;
uint8 *buffer;

View File

@@ -261,7 +261,7 @@ bool platform_directory_delete(const utf8 *path)
return true;
}
char* platform_get_absolute_path(const char* relative_path,const char* base_path)
char* platform_get_absolute_path(const char * relative_path,const char * base_path)
{
char path[MAX_PATH];