From f25b4b27743d4b018393a3083e9d9061ab5ce07a Mon Sep 17 00:00:00 2001 From: Pierre Wendling Date: Mon, 27 Jun 2022 16:57:21 -0400 Subject: [PATCH] Style: Flip `if` statement. --- src/timer/unix/SDL_systimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timer/unix/SDL_systimer.c b/src/timer/unix/SDL_systimer.c index 9930be8a7..406bd48c5 100644 --- a/src/timer/unix/SDL_systimer.c +++ b/src/timer/unix/SDL_systimer.c @@ -87,7 +87,7 @@ SDL_TicksInit(void) has_monotonic_time = SDL_TRUE; } else #elif defined(__APPLE__) - if (0 == mach_timebase_info(&mach_base_info)) { + if (mach_timebase_info(&mach_base_info) == 0) { has_monotonic_time = SDL_TRUE; start_mach = mach_absolute_time(); } else