Use new parameter validation macro

This commit is contained in:
Sam Lantinga committed 2025-09-18 20:58:32 -07:00
1 parent ee1c90a358
commit 25b2d2c821
60 files changed
+1113 -1133

No files matched your search

+1 -1
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);