mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
Fix more formatting
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user