Wrong style, sorry

This commit is contained in:
Alex Frutkin 2020-09-10 19:27:08 -07:00
parent 7bfb9fd3ba
commit f641840f0c
No known key found for this signature in database
GPG Key ID: 0C108AF31101E697

View File

@ -145,7 +145,7 @@
#include "camera.h" // Camera system functionality #include "camera.h" // Camera system functionality
#endif #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) #if defined(SUPPORT_GIF_RECORDING)
#define RGIF_MALLOC RL_MALLOC #define RGIF_MALLOC RL_MALLOC
@ -2061,7 +2061,7 @@ const char *GetWorkingDirectory(void)
static char currentDir[MAX_FILEPATH_LENGTH]; static char currentDir[MAX_FILEPATH_LENGTH];
memset(currentDir, 0, 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; return currentDir;
} }
@ -2328,7 +2328,7 @@ void OpenURL(const char *url)
#elif defined(__APPLE__) #elif defined(__APPLE__)
sprintf(cmd, "open '%s'", url); sprintf(cmd, "open '%s'", url);
#endif #endif
IgnoreResult(system(cmd)); IGNORE_RESULT(system(cmd));
RL_FREE(cmd); RL_FREE(cmd);
#endif #endif
#if defined(PLATFORM_WEB) #if defined(PLATFORM_WEB)