mirror of https://github.com/encounter/SDL.git
Code analysis annotations found a legitimate bug!
This commit is contained in:
parent
d0146cfcc0
commit
6671aa2a08
|
@ -56,7 +56,7 @@ void SDLTest_Assert(int assertCondition, SDL_PRINTF_FORMAT_STRING const char *as
|
|||
va_end(list);
|
||||
|
||||
/* Log, then assert and break on failure */
|
||||
SDL_assert((SDLTest_AssertCheck(assertCondition, logMessage)));
|
||||
SDL_assert((SDLTest_AssertCheck(assertCondition, "%s", logMessage)));
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue