diff --git a/src/lib/platform/OSXKeyState.cpp b/src/lib/platform/OSXKeyState.cpp index aad20729..2278fe30 100644 --- a/src/lib/platform/OSXKeyState.cpp +++ b/src/lib/platform/OSXKeyState.cpp @@ -617,7 +617,7 @@ OSXKeyState::fakeKey(const Keystroke& keystroke) void OSXKeyState::getKeyMapForSpecialKeys(barrier::KeyMap& keyMap, SInt32 group) const { - // special keys are insensitive to modifers and none are dead keys + // special keys are insensitive to modifiers and none are dead keys barrier::KeyMap::KeyItem item; for (size_t i = 0; i < sizeof(s_controlKeys) / sizeof(s_controlKeys[0]); ++i) { diff --git a/src/test/unittests/barrier/KeyStateTests.cpp b/src/test/unittests/barrier/KeyStateTests.cpp index bc419334..cc6da8f8 100644 --- a/src/test/unittests/barrier/KeyStateTests.cpp +++ b/src/test/unittests/barrier/KeyStateTests.cpp @@ -216,7 +216,7 @@ TEST(KeyStateTests, updateKeyState_activeModifiers_maskNotSet) ASSERT_EQ(0, actual); } -TEST(KeyStateTests, updateKeyState_activeModifiers_keyMapGotModifers) +TEST(KeyStateTests, updateKeyState_activeModifiers_keyMapGotModifiers) { MockKeyMap keyMap; MockEventQueue eventQueue;