Style: Flip if statement.

This commit is contained in:
Pierre Wendling 2022-06-27 16:57:21 -04:00 committed by Sam Lantinga
parent 6c536afdb7
commit f25b4b2774

View file

@ -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