From f641840f0c438c77e00ea15b4a3fc06a17abbb47 Mon Sep 17 00:00:00 2001 From: Alex Frutkin Date: Thu, 10 Sep 2020 19:27:08 -0700 Subject: [PATCH] Wrong style, sorry --- src/core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core.c b/src/core.c index 177e2be39..53c374f65 100644 --- a/src/core.c +++ b/src/core.c @@ -145,7 +145,7 @@ #include "camera.h" // Camera system functionality #endif -#define IgnoreResult(x) if (x) {} // This should fix compiler warnings +#define IGNORE_RESULT(x) if (x) {} // This should fix compiler warnings #if defined(SUPPORT_GIF_RECORDING) #define RGIF_MALLOC RL_MALLOC @@ -2061,7 +2061,7 @@ const char *GetWorkingDirectory(void) static char currentDir[MAX_FILEPATH_LENGTH]; memset(currentDir, 0, MAX_FILEPATH_LENGTH); - IgnoreResult(GETCWD(currentDir, MAX_FILEPATH_LENGTH - 1)); + IGNORE_RESULT(GETCWD(currentDir, MAX_FILEPATH_LENGTH - 1)); return currentDir; } @@ -2328,7 +2328,7 @@ void OpenURL(const char *url) #elif defined(__APPLE__) sprintf(cmd, "open '%s'", url); #endif - IgnoreResult(system(cmd)); + IGNORE_RESULT(system(cmd)); RL_FREE(cmd); #endif #if defined(PLATFORM_WEB)