mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
Fix awkward error phrasing
This commit is contained in:
parent
f9e6f673dd
commit
434effd6a1
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user