fix typos

This commit is contained in:
Brenton Bostick
2025-07-27 10:39:20 -04:00
committed by Sam Lantinga
parent 2ed1c35ca6
commit f361034ac3
23 changed files with 34 additions and 34 deletions

View File

@@ -1424,7 +1424,7 @@ void HID_API_EXPORT hid_close(hid_device *dev)
UPD: The crash part was true in/until some version of macOS.
Starting with macOS 10.15, there is an opposite effect in some environments:
crash happenes if IOHIDDeviceClose() is not called.
crash happens if IOHIDDeviceClose() is not called.
Not leaking a resource in all tested environments.
*/
if (is_macos_10_10_or_greater || !dev->disconnected) {