Use new parameter validation macro
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
|
||||
SDL_SharedObject *SDL_LoadObject(const char *sofile)
|
||||
{
|
||||
if (!sofile) {
|
||||
CHECK_PARAM(!sofile) {
|
||||
SDL_InvalidParamError("sofile");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user