Fixed return value for SDL_UDEV_AddCallback()

Fixes https://github.com/libsdl-org/SDL/issues/8694
This commit is contained in:
Sam Lantinga
2023-12-15 10:06:01 -08:00
parent cbf9012c74
commit 8c285828e5

View File

@@ -530,7 +530,7 @@ int SDL_UDEV_AddCallback(SDL_UDEV_Callback cb)
_this->last = item;
}
return 1;
return 0;
}
void SDL_UDEV_DelCallback(SDL_UDEV_Callback cb)