Use new parameter validation macro

This commit is contained in:
Sam Lantinga
2025-09-16 21:51:03 -07:00
parent ee1c90a358
commit 25b2d2c821
60 changed files with 1113 additions and 1133 deletions

View File

@@ -2113,7 +2113,7 @@ void Android_JNI_HapticStop(int device_id)
bool SDL_SendAndroidMessage(Uint32 command, int param)
{
if (command < 0x8000) {
CHECK_PARAM(command < 0x8000) {
return SDL_InvalidParamError("command");
}
return Android_JNI_SendMessage(command, param);