Fix awkward error phrasing

This commit is contained in:
Chris Thrasher 2023-08-13 01:26:38 -06:00
parent f9e6f673dd
commit 434effd6a1

View File

@ -771,7 +771,7 @@ void HIDInputManager::loadKeyboard(IOHIDDeviceRef keyboard)
CFArrayRef underlying = IOHIDDeviceCopyMatchingElements(keyboard, nullptr, kIOHIDOptionsTypeNone); CFArrayRef underlying = IOHIDDeviceCopyMatchingElements(keyboard, nullptr, kIOHIDOptionsTypeNone);
if ((underlying == nullptr) || (CFArrayGetCount(underlying) == 0)) if ((underlying == nullptr) || (CFArrayGetCount(underlying) == 0))
{ {
err() << "We got a keyboard without any keys." << std::endl; err() << "Detected a keyboard without any keys." << std::endl;
return; return;
} }