From 03606adbebff09b4f70a8bf0d6efdcd5e1bd15b5 Mon Sep 17 00:00:00 2001 From: X7123M3-256 Date: Fri, 27 Jan 2017 23:06:34 +0000 Subject: [PATCH] Fix more formatting --- src/openrct2/cmdline_sprite.c | 6 +++--- src/openrct2/platform/posix.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/openrct2/cmdline_sprite.c b/src/openrct2/cmdline_sprite.c index 02a9fab659..b930457bcd 100644 --- a/src/openrct2/cmdline_sprite.c +++ b/src/openrct2/cmdline_sprite.c @@ -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; diff --git a/src/openrct2/platform/posix.c b/src/openrct2/platform/posix.c index ada8793db8..d48efed209 100644 --- a/src/openrct2/platform/posix.c +++ b/src/openrct2/platform/posix.c @@ -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];